pub enum Axis {
Vertical,
Horizontal,
}Expand description
One axis of a scroll bar.
Variants§
Vertical
AXVerticalScrollBar. Value 0 is the top.
Horizontal
AXHorizontalScrollBar. Value 0 is the left.
Implementations§
Source§impl Axis
impl Axis
Sourcepub fn limit(self, steps: i32) -> &'static str
pub fn limit(self, steps: i32) -> &'static str
The edge steps is scrolling towards. Positive steps go down or right.
Sourcepub fn bar_attribute(self) -> &'static str
pub fn bar_attribute(self) -> &'static str
The AXScrollArea attribute holding this axis’s scroll bar.
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
Source§impl Ord for Axis
impl Ord for Axis
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 PartialOrd for Axis
impl PartialOrd for Axis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.