pub enum Grip {
Target(Rect),
Edge(Edge, f64),
}Expand description
What may start a drag.
Variants§
Target(Rect)
A press on this hit target (mouse) or a pan that started inside rect (touch).
Edge(Edge, f64)
A pan from this window edge (touch), or a mouse press within width px of it.
Trait Implementations§
impl Copy for Grip
impl StructuralPartialEq for Grip
Auto Trait Implementations§
impl Forget for Grip
impl Freeze for Grip
impl Move for Grip
impl RefUnwindSafe for Grip
impl Send for Grip
impl Sync for Grip
impl Unpin for Grip
impl UnsafeUnpin for Grip
impl UnwindSafe for Grip
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