pub struct DraggableConfig {
pub orientation: Option<DragOrientation>,
pub enabled: bool,
pub reverse_direction: bool,
pub start_drag_immediately: bool,
pub slop_px: f32,
}Fields§
§orientation: Option<DragOrientation>§enabled: bool§reverse_direction: bool§start_drag_immediately: bool§slop_px: f32Trait Implementations§
Auto Trait Implementations§
impl Forget for DraggableConfig
impl Freeze for DraggableConfig
impl Move for DraggableConfig
impl RefUnwindSafe for DraggableConfig
impl Send for DraggableConfig
impl Sync for DraggableConfig
impl Unpin for DraggableConfig
impl UnsafeUnpin for DraggableConfig
impl UnwindSafe for DraggableConfig
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