pub enum GestureMask {
None,
Gesture,
Subviews,
All,
}Expand description
SwiftUI.GestureMask — which gestures still get a look in.
The including: argument of .gesture(_:including:). All is
SwiftUI’s default and what this crate passed as a bare 3 before the
raw values were read from the framework.
Variants§
None
Neither this gesture nor the subviews’ run.
Gesture
Only this gesture; the subviews’ are disabled.
Subviews
Only the subviews’; this one is disabled.
All
Both, which is the default.
Trait Implementations§
Source§impl Clone for GestureMask
impl Clone for GestureMask
impl Copy for GestureMask
Source§impl Debug for GestureMask
impl Debug for GestureMask
impl Eq for GestureMask
Source§impl From<All> for GestureMask
impl From<All> for GestureMask
Source§impl From<Gesture> for GestureMask
impl From<Gesture> for GestureMask
Source§impl From<None> for GestureMask
impl From<None> for GestureMask
Source§impl From<Subviews> for GestureMask
impl From<Subviews> for GestureMask
Source§impl PartialEq for GestureMask
impl PartialEq for GestureMask
impl StructuralPartialEq for GestureMask
Auto Trait Implementations§
impl Freeze for GestureMask
impl RefUnwindSafe for GestureMask
impl Send for GestureMask
impl Sync for GestureMask
impl Unpin for GestureMask
impl UnsafeUnpin for GestureMask
impl UnwindSafe for GestureMask
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