#[non_exhaustive]#[repr(u8)]pub enum Origin {
LowerLeft = 1,
LowerRight = 2,
UpperLeft = 3,
UpperRight = 4,
}Expand description
The position of the touch surface’s coordinate origin, viewed from above.
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.
LowerLeft = 1
Lower-left corner.
LowerRight = 2
Lower-right corner.
UpperLeft = 3
Upper-left corner.
UpperRight = 4
Upper-right corner.
Trait Implementations§
impl Copy for Origin
impl Eq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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