#[non_exhaustive]pub enum ScrollAxisLock {
Auto,
None,
}Expand description
A value of scroll-axis-lock.
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.
Trait Implementations§
Source§impl Clone for ScrollAxisLock
impl Clone for ScrollAxisLock
Source§fn clone(&self) -> ScrollAxisLock
fn clone(&self) -> ScrollAxisLock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrollAxisLock
impl Debug for ScrollAxisLock
Source§impl Display for ScrollAxisLock
impl Display for ScrollAxisLock
Source§impl PartialEq for ScrollAxisLock
impl PartialEq for ScrollAxisLock
impl StructuralPartialEq for ScrollAxisLock
Auto Trait Implementations§
impl Freeze for ScrollAxisLock
impl RefUnwindSafe for ScrollAxisLock
impl Send for ScrollAxisLock
impl Sync for ScrollAxisLock
impl Unpin for ScrollAxisLock
impl UnsafeUnpin for ScrollAxisLock
impl UnwindSafe for ScrollAxisLock
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