#[non_exhaustive]pub enum ScrollDirection {
Up,
Down,
Left,
Right,
}Expand description
A scroll direction.
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.
Up
Reveal content above.
Down
Reveal content below.
Left
Reveal content to the left.
Right
Reveal content to the right.
Implementations§
Trait Implementations§
Source§impl Clone for ScrollDirection
impl Clone for ScrollDirection
impl Copy for ScrollDirection
Source§impl Debug for ScrollDirection
impl Debug for ScrollDirection
impl Eq for ScrollDirection
Source§impl FromStr for ScrollDirection
impl FromStr for ScrollDirection
Source§impl Hash for ScrollDirection
impl Hash for ScrollDirection
Source§impl PartialEq for ScrollDirection
impl PartialEq for ScrollDirection
impl StructuralPartialEq for ScrollDirection
Auto Trait Implementations§
impl Forget for ScrollDirection
impl Freeze for ScrollDirection
impl RefUnwindSafe for ScrollDirection
impl Send for ScrollDirection
impl Sync for ScrollDirection
impl Unpin for ScrollDirection
impl UnsafeUnpin for ScrollDirection
impl UnwindSafe for ScrollDirection
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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