pub enum ScrollAxis {
Vertical,
Horizontal,
Both,
}Expand description
Axis (or axes) a scroll modifier operates on.
Variants§
Trait Implementations§
Source§impl Clone for ScrollAxis
impl Clone for ScrollAxis
Source§fn clone(&self) -> ScrollAxis
fn clone(&self) -> ScrollAxis
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 moreimpl Copy for ScrollAxis
Source§impl Debug for ScrollAxis
impl Debug for ScrollAxis
impl Eq for ScrollAxis
Source§impl PartialEq for ScrollAxis
impl PartialEq for ScrollAxis
Source§fn eq(&self, other: &ScrollAxis) -> bool
fn eq(&self, other: &ScrollAxis) -> bool
Tests for
self and other values to be equal, and is used by ==.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