#[non_exhaustive]pub enum DragLockState {
Disabled,
EnabledTimeout,
}Expand description
Drag lock state
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
Drag lock is to be disabled, or is currently disabled
EnabledTimeout
Drag lock is to be enabled in timeout mode, or is currently enabled in timeout mode
Trait Implementations§
Source§impl Clone for DragLockState
impl Clone for DragLockState
Source§fn clone(&self) -> DragLockState
fn clone(&self) -> DragLockState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DragLockState
impl Debug for DragLockState
Source§impl Hash for DragLockState
impl Hash for DragLockState
Source§impl PartialEq for DragLockState
impl PartialEq for DragLockState
impl Copy for DragLockState
impl Eq for DragLockState
impl StructuralPartialEq for DragLockState
Auto Trait Implementations§
impl Freeze for DragLockState
impl RefUnwindSafe for DragLockState
impl Send for DragLockState
impl Sync for DragLockState
impl Unpin for DragLockState
impl UnwindSafe for DragLockState
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