pub enum ScrollbarShow {
Never,
WhileScrolling,
Hover,
Always,
}Expand description
When an enabled scrollbar is visible.
Variants§
Never
Never painted and never hit-tested — the same as no .scrollbar(..).
WhileScrolling
Shown while the surface scrolls (or the lane is hovered or the thumb held), fading out once idle. The default.
Hover
Shown while the pointer is over the surface, and while scrolling.
Always
Shown whenever the content overflows.
Trait Implementations§
Source§impl Clone for ScrollbarShow
impl Clone for ScrollbarShow
impl Copy for ScrollbarShow
Source§impl Debug for ScrollbarShow
impl Debug for ScrollbarShow
Source§impl Default for ScrollbarShow
impl Default for ScrollbarShow
impl Eq for ScrollbarShow
Source§impl PartialEq for ScrollbarShow
impl PartialEq for ScrollbarShow
impl StructuralPartialEq for ScrollbarShow
Auto Trait Implementations§
impl Freeze for ScrollbarShow
impl RefUnwindSafe for ScrollbarShow
impl Send for ScrollbarShow
impl Sync for ScrollbarShow
impl Unpin for ScrollbarShow
impl UnsafeUnpin for ScrollbarShow
impl UnwindSafe for ScrollbarShow
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
impl<T> Brush for T
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§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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.