pub struct AnyDrag {
pub view: AnyView,
pub cursor_offset: Point<Pixels>,
}
Expand description
Contains state associated with an active drag operation, started by dragging an element within the window or by dragging into the app from the underlying platform.
Fields§
§view: AnyView
§cursor_offset: Point<Pixels>
Auto Trait Implementations§
impl !RefUnwindSafe for AnyDrag
impl Send for AnyDrag
impl Sync for AnyDrag
impl Unpin for AnyDrag
impl !UnwindSafe for AnyDrag
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