pub enum ScrollDirection {
Up,
Down,
Left,
Right,
}
Variants§
Trait Implementations§
§impl Clone for ScrollDirection
impl Clone for ScrollDirection
§fn clone(&self) -> ScrollDirection
fn clone(&self) -> ScrollDirection
Returns a copy 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 more§impl Debug for ScrollDirection
impl Debug for ScrollDirection
§impl Hash for ScrollDirection
impl Hash for ScrollDirection
§impl Ord for ScrollDirection
impl Ord for ScrollDirection
§impl PartialEq<ScrollDirection> for ScrollDirection
impl PartialEq<ScrollDirection> for ScrollDirection
§fn eq(&self, other: &ScrollDirection) -> bool
fn eq(&self, other: &ScrollDirection) -> bool
§impl PartialOrd<ScrollDirection> for ScrollDirection
impl PartialOrd<ScrollDirection> for ScrollDirection
§fn partial_cmp(&self, other: &ScrollDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &ScrollDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more