pub struct Interact {
pub axis: Option<Axis>,
pub touch_only: bool,
}Expand description
follows one primary mouse press once it moves Context::MOUSE_SLOP or touch once it moves Context::SLOP
with an axis, starts only when movement is mostly along it
Fields§
§axis: Option<Axis>§touch_only: boolaccepts only touch contacts
Implementations§
Trait Implementations§
impl Copy for Interact
Auto Trait Implementations§
impl Forget for Interact
impl Freeze for Interact
impl Move for Interact
impl RefUnwindSafe for Interact
impl Send for Interact
impl Sync for Interact
impl Unpin for Interact
impl UnsafeUnpin for Interact
impl UnwindSafe for Interact
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