pub struct ActiveScrollbar {
pub bounds: Rect,
pub track_bounds: Rect,
pub thumb_bounds: Rect,
pub scroll_y: f32,
pub max_scroll_y: f32,
pub content_h: f32,
pub is_id: bool,
pub id: String,
pub path: Vec<usize>,
pub available_travel: f32,
}Expand description
Active scrollbar state for an overflow container.
Fields§
§bounds: Rect§track_bounds: Rect§thumb_bounds: Rect§scroll_y: f32§max_scroll_y: f32§content_h: f32§is_id: bool§id: String§path: Vec<usize>§available_travel: f32Trait Implementations§
Source§impl Clone for ActiveScrollbar
impl Clone for ActiveScrollbar
Auto Trait Implementations§
impl Forget for ActiveScrollbar
impl Freeze for ActiveScrollbar
impl Move for ActiveScrollbar
impl RefUnwindSafe for ActiveScrollbar
impl Send for ActiveScrollbar
impl Sync for ActiveScrollbar
impl Unpin for ActiveScrollbar
impl UnsafeUnpin for ActiveScrollbar
impl UnwindSafe for ActiveScrollbar
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