pub enum ScrollBarVariant {
Permanent,
Overlay,
Thin,
}Variants§
Permanent
Full track + thumb, always visible. The classic always-on scroll bar; reserves layout space when used inside a parent that honours its full thickness. The widget’s historical default.
Overlay
Thin resting indicator at idle, cross-fades to the full track + thumb on hover or drag. macOS / Ubuntu / IntUI overlay style.
Thin
Thin resting indicator only — never reveals the full bar. A passive scroll-position display for minimal UIs; interaction (drag, track click, keyboard) still works against the full slot bounds even though only the thin strip is painted.
Trait Implementations§
Source§impl Clone for ScrollBarVariant
impl Clone for ScrollBarVariant
Source§fn clone(&self) -> ScrollBarVariant
fn clone(&self) -> ScrollBarVariant
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 moreimpl Copy for ScrollBarVariant
Source§impl Debug for ScrollBarVariant
impl Debug for ScrollBarVariant
Source§impl Default for ScrollBarVariant
impl Default for ScrollBarVariant
Source§fn default() -> ScrollBarVariant
fn default() -> ScrollBarVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScrollBarVariant
impl<'de> Deserialize<'de> for ScrollBarVariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScrollBarVariant
Source§impl Hash for ScrollBarVariant
impl Hash for ScrollBarVariant
Source§impl PartialEq for ScrollBarVariant
impl PartialEq for ScrollBarVariant
Source§impl Serialize for ScrollBarVariant
impl Serialize for ScrollBarVariant
impl StructuralPartialEq for ScrollBarVariant
Auto Trait Implementations§
impl Freeze for ScrollBarVariant
impl RefUnwindSafe for ScrollBarVariant
impl Send for ScrollBarVariant
impl Sync for ScrollBarVariant
impl Unpin for ScrollBarVariant
impl UnsafeUnpin for ScrollBarVariant
impl UnwindSafe for ScrollBarVariant
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