pub enum ScrollbarAxis {
Horizontal,
Vertical,
}Expand description
Main axis of one scrollbar.
The axis identifies both the content offset being controlled and the direction in which the thumb travels.
§Examples
use ailloli_ui_core::ScrollbarAxis;
assert_ne!(ScrollbarAxis::Horizontal, ScrollbarAxis::Vertical);Variants§
Horizontal
Controls the horizontal content offset; the thumb travels left/right.
Vertical
Controls the vertical content offset; the thumb travels up/down.
Trait Implementations§
Source§impl Clone for ScrollbarAxis
impl Clone for ScrollbarAxis
Source§fn clone(&self) -> ScrollbarAxis
fn clone(&self) -> ScrollbarAxis
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 moreSource§impl Debug for ScrollbarAxis
impl Debug for ScrollbarAxis
Source§impl Hash for ScrollbarAxis
impl Hash for ScrollbarAxis
Source§impl PartialEq for ScrollbarAxis
impl PartialEq for ScrollbarAxis
impl Copy for ScrollbarAxis
impl Eq for ScrollbarAxis
impl StructuralPartialEq for ScrollbarAxis
Auto Trait Implementations§
impl Freeze for ScrollbarAxis
impl RefUnwindSafe for ScrollbarAxis
impl Send for ScrollbarAxis
impl Sync for ScrollbarAxis
impl Unpin for ScrollbarAxis
impl UnwindSafe for ScrollbarAxis
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