#[non_exhaustive]pub enum TouchAction {
Auto,
Manipulation,
None,
PanDown,
PanLeft,
PanRight,
PanUp,
PanX,
PanY,
PinchZoom,
Raw(Raw),
}Expand description
A value of touch-action.
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.
Auto
auto.
Manipulation
manipulation.
None
none.
PanDown
pan-down.
PanLeft
pan-left.
PanRight
pan-right.
PanUp
pan-up.
PanX
pan-x.
PanY
pan-y.
PinchZoom
pinch-zoom.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for TouchAction
impl Clone for TouchAction
Source§fn clone(&self) -> TouchAction
fn clone(&self) -> TouchAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TouchAction
impl Debug for TouchAction
Source§impl Display for TouchAction
impl Display for TouchAction
Source§impl From<Raw> for TouchAction
impl From<Raw> for TouchAction
Source§impl PartialEq for TouchAction
impl PartialEq for TouchAction
impl StructuralPartialEq for TouchAction
Auto Trait Implementations§
impl Freeze for TouchAction
impl RefUnwindSafe for TouchAction
impl Send for TouchAction
impl Sync for TouchAction
impl Unpin for TouchAction
impl UnsafeUnpin for TouchAction
impl UnwindSafe for TouchAction
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