pub enum ScrollDirection {
Up,
Down,
Left,
Right,
}Expand description
A scroll direction.
Variants§
Up
Towards the top.
Down
Towards the bottom.
Left
Towards the left edge.
Right
Towards the right edge.
Trait Implementations§
Source§impl Clone for ScrollDirection
impl Clone for ScrollDirection
impl Copy for ScrollDirection
Source§impl Debug for ScrollDirection
impl Debug for ScrollDirection
Source§impl<'de> Deserialize<'de> for ScrollDirection
impl<'de> Deserialize<'de> for ScrollDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScrollDirection
Source§impl Hash for ScrollDirection
impl Hash for ScrollDirection
Source§impl PartialEq for ScrollDirection
impl PartialEq for ScrollDirection
Source§impl Serialize for ScrollDirection
impl Serialize for ScrollDirection
impl StructuralPartialEq for ScrollDirection
Auto Trait Implementations§
impl Forget for ScrollDirection
impl Freeze for ScrollDirection
impl Move 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§
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