pub struct ScrollbarFade {
pub opacity: f32,
pub hover: f32,
/* private fields */
}Expand description
The life of one area’s scrollbar over time: whether it is on screen at all, and how far the thumb has gone towards the colour it takes under a pointer.
A bar is not a permanent fixture. It arrives when the area moves, waits, and goes again — which is the whole of what makes it bearable to have one at all.
Fields§
§opacity: f320.0..=1.0 — how present the bar is.
hover: f320.0..=1.0 — how far the thumb has gone towards its hovered colour.
Trait Implementations§
Source§impl Clone for ScrollbarFade
impl Clone for ScrollbarFade
impl Copy for ScrollbarFade
Source§impl Debug for ScrollbarFade
impl Debug for ScrollbarFade
Auto Trait Implementations§
impl Freeze for ScrollbarFade
impl RefUnwindSafe for ScrollbarFade
impl Send for ScrollbarFade
impl Sync for ScrollbarFade
impl Unpin for ScrollbarFade
impl UnsafeUnpin for ScrollbarFade
impl UnwindSafe for ScrollbarFade
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