pub enum ScrollbarVisibility {
Automatic,
Always,
Never,
}Expand description
The visbility of the vertical and horizontal scrollbars.
Variants§
Automatic
Render the scrollbar only whenever needed.
Always
Always render the scrollbar.
Never
Never render the scrollbar (hide it).
Trait Implementations§
Source§impl Clone for ScrollbarVisibility
impl Clone for ScrollbarVisibility
Source§fn clone(&self) -> ScrollbarVisibility
fn clone(&self) -> ScrollbarVisibility
Returns a duplicate 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 ScrollbarVisibility
impl Debug for ScrollbarVisibility
Source§impl Default for ScrollbarVisibility
impl Default for ScrollbarVisibility
Source§fn default() -> ScrollbarVisibility
fn default() -> ScrollbarVisibility
Returns the “default value” for a type. Read more
Source§impl Hash for ScrollbarVisibility
impl Hash for ScrollbarVisibility
Source§impl PartialEq for ScrollbarVisibility
impl PartialEq for ScrollbarVisibility
impl Copy for ScrollbarVisibility
impl Eq for ScrollbarVisibility
impl StructuralPartialEq for ScrollbarVisibility
Auto Trait Implementations§
impl Freeze for ScrollbarVisibility
impl RefUnwindSafe for ScrollbarVisibility
impl Send for ScrollbarVisibility
impl Sync for ScrollbarVisibility
impl Unpin for ScrollbarVisibility
impl UnwindSafe for ScrollbarVisibility
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> 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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more