pub enum ScrollbarState {
Asleep,
Awake,
Hovered,
}Expand description
Visibility state of the responsive scrollbar
Variants§
Asleep
Only background is rendered
Awake
Background + light gray rectangle where slider would be
Hovered
Full scrollbar is rendered (on hover)
Trait Implementations§
Source§impl Clone for ScrollbarState
impl Clone for ScrollbarState
impl Copy for ScrollbarState
Source§impl Debug for ScrollbarState
impl Debug for ScrollbarState
impl Eq for ScrollbarState
Source§impl PartialEq for ScrollbarState
impl PartialEq for ScrollbarState
impl StructuralPartialEq for ScrollbarState
Auto Trait Implementations§
impl Freeze for ScrollbarState
impl RefUnwindSafe for ScrollbarState
impl Send for ScrollbarState
impl Sync for ScrollbarState
impl Unpin for ScrollbarState
impl UnsafeUnpin for ScrollbarState
impl UnwindSafe for ScrollbarState
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§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.