pub enum ScrollbarOrientation {
Vertical,
Horizontal,
}Expand description
The axis along which a Scrollbar describes a viewport.
Orientation does not choose an edge. A parent View places a vertical
scrollbar on the left or right, or a horizontal scrollbar above or below
its content.
Variants§
Trait Implementations§
Source§impl Clone for ScrollbarOrientation
impl Clone for ScrollbarOrientation
Source§fn clone(&self) -> ScrollbarOrientation
fn clone(&self) -> ScrollbarOrientation
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 moreSource§impl Debug for ScrollbarOrientation
impl Debug for ScrollbarOrientation
Source§impl Default for ScrollbarOrientation
impl Default for ScrollbarOrientation
Source§fn default() -> ScrollbarOrientation
fn default() -> ScrollbarOrientation
Returns the “default value” for a type. Read more
Source§impl Hash for ScrollbarOrientation
impl Hash for ScrollbarOrientation
Source§impl PartialEq for ScrollbarOrientation
impl PartialEq for ScrollbarOrientation
Source§fn eq(&self, other: &ScrollbarOrientation) -> bool
fn eq(&self, other: &ScrollbarOrientation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScrollbarOrientation
impl Eq for ScrollbarOrientation
impl StructuralPartialEq for ScrollbarOrientation
Auto Trait Implementations§
impl Freeze for ScrollbarOrientation
impl RefUnwindSafe for ScrollbarOrientation
impl Send for ScrollbarOrientation
impl Sync for ScrollbarOrientation
impl Unpin for ScrollbarOrientation
impl UnsafeUnpin for ScrollbarOrientation
impl UnwindSafe for ScrollbarOrientation
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