pub struct DragOptions { /* private fields */ }Implementations§
Source§impl DragOptions
impl DragOptions
pub fn new() -> DragOptions
pub fn threshold(self, px: f32) -> DragOptions
pub fn preview(self, view: impl View + 'static) -> DragOptions
Trait Implementations§
Source§impl Default for DragOptions
impl Default for DragOptions
Source§fn default() -> DragOptions
fn default() -> DragOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for DragOptions
impl !Send for DragOptions
impl !Sync for DragOptions
impl !UnwindSafe for DragOptions
impl Freeze for DragOptions
impl Unpin for DragOptions
impl UnsafeUnpin for DragOptions
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