pub enum Axis {
Horizontal = 0,
Vertical = 1,
}Expand description
A scroll or layout axis.
Two cases, neither with a payload, so the tags are the declaration order.
Variants§
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
Source§impl From<Horizontal> for Axis
impl From<Horizontal> for Axis
Source§fn from(_: Horizontal) -> Self
fn from(_: Horizontal) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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