pub struct DragResult {
pub changed: bool,
pub clicked: bool,
pub hovered: bool,
pub held: bool,
}Expand description
Result of a drag interaction
Fields§
§changed: boolTrue if the underlying value changed this frame
clicked: boolTrue if it was clicked this frame
hovered: boolTrue if hovered this frame
held: boolTrue if held/active this frame
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DragResult
impl RefUnwindSafe for DragResult
impl Send for DragResult
impl Sync for DragResult
impl Unpin for DragResult
impl UnsafeUnpin for DragResult
impl UnwindSafe for DragResult
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