Enum wayland_protocols::unstable::tablet::v2::client::zwp_tablet_pad_ring_v2::Source
source · #[non_exhaustive]#[repr(u32)]pub enum Source {
Finger = 1,
}
Expand description
ring axis source
Describes the source types for ring events. This indicates to the client how a ring event was physically generated; a client may adjust the user interface accordingly. For example, events from a “finger” source may trigger kinetic scrolling.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Finger = 1
finger
Implementations§
Trait Implementations§
source§impl PartialEq for Source
impl PartialEq for Source
impl Copy for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more