pub struct ScrollAxis(pub u8);Expand description
The direction a node scrolls in.
Tuple Fields§
§0: u8Implementations§
Source§impl ScrollAxis
impl ScrollAxis
Sourcepub const UNKNOWN: ScrollAxis
pub const UNKNOWN: ScrollAxis
The platform names no single direction.
pub const VERTICAL: ScrollAxis
pub const HORIZONTAL: ScrollAxis
Trait Implementations§
Source§impl Clone for ScrollAxis
impl Clone for ScrollAxis
impl Copy for ScrollAxis
Source§impl Debug for ScrollAxis
impl Debug for ScrollAxis
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ScrollAxis
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ScrollAxis
Source§impl Default for ScrollAxis
impl Default for ScrollAxis
Source§impl Display for ScrollAxis
impl Display for ScrollAxis
Source§impl<Ctx> Encode<Ctx> for ScrollAxis
impl<Ctx> Encode<Ctx> for ScrollAxis
impl Eq for ScrollAxis
Source§impl Hash for ScrollAxis
impl Hash for ScrollAxis
Source§impl Ord for ScrollAxis
impl Ord for ScrollAxis
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ScrollAxis
impl PartialEq for ScrollAxis
Source§impl PartialOrd for ScrollAxis
impl PartialOrd for ScrollAxis
impl StructuralPartialEq for ScrollAxis
Auto Trait Implementations§
impl Freeze for ScrollAxis
impl RefUnwindSafe for ScrollAxis
impl Send for ScrollAxis
impl Sync for ScrollAxis
impl Unpin for ScrollAxis
impl UnsafeUnpin for ScrollAxis
impl UnwindSafe for ScrollAxis
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