pub enum ScrollbarThumbSizing {
Proportional,
Marker,
}Expand description
How a ScrollbarPresentation represents the visible viewport on its track.
Variants§
Proportional
Size the thumb in proportion to the visible share of the content.
Marker
Draw one cell that represents position without representing viewport size.
Trait Implementations§
Source§impl Clone for ScrollbarThumbSizing
impl Clone for ScrollbarThumbSizing
Source§fn clone(&self) -> ScrollbarThumbSizing
fn clone(&self) -> ScrollbarThumbSizing
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 moreSource§impl Debug for ScrollbarThumbSizing
impl Debug for ScrollbarThumbSizing
Source§impl Default for ScrollbarThumbSizing
impl Default for ScrollbarThumbSizing
Source§fn default() -> ScrollbarThumbSizing
fn default() -> ScrollbarThumbSizing
Returns the “default value” for a type. Read more
Source§impl Hash for ScrollbarThumbSizing
impl Hash for ScrollbarThumbSizing
Source§impl PartialEq for ScrollbarThumbSizing
impl PartialEq for ScrollbarThumbSizing
Source§fn eq(&self, other: &ScrollbarThumbSizing) -> bool
fn eq(&self, other: &ScrollbarThumbSizing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScrollbarThumbSizing
impl Eq for ScrollbarThumbSizing
impl StructuralPartialEq for ScrollbarThumbSizing
Auto Trait Implementations§
impl Freeze for ScrollbarThumbSizing
impl RefUnwindSafe for ScrollbarThumbSizing
impl Send for ScrollbarThumbSizing
impl Sync for ScrollbarThumbSizing
impl Unpin for ScrollbarThumbSizing
impl UnsafeUnpin for ScrollbarThumbSizing
impl UnwindSafe for ScrollbarThumbSizing
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