pub struct ScrollMetrics {
pub thumb_len: usize,
pub thumb_top: usize,
pub max_offset: usize,
}Expand description
Geometry of the thumb within a track of track_h rows.
Fields§
§thumb_len: usize§thumb_top: usize§max_offset: usizeImplementations§
Trait Implementations§
Source§impl Clone for ScrollMetrics
impl Clone for ScrollMetrics
impl Copy for ScrollMetrics
Source§impl Debug for ScrollMetrics
impl Debug for ScrollMetrics
impl Eq for ScrollMetrics
Source§impl PartialEq for ScrollMetrics
impl PartialEq for ScrollMetrics
impl StructuralPartialEq for ScrollMetrics
Auto Trait Implementations§
impl Freeze for ScrollMetrics
impl RefUnwindSafe for ScrollMetrics
impl Send for ScrollMetrics
impl Sync for ScrollMetrics
impl Unpin for ScrollMetrics
impl UnsafeUnpin for ScrollMetrics
impl UnwindSafe for ScrollMetrics
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