pub struct ScrollBarGeometry {
pub orientation: Orientation,
pub track: Rect,
pub thumb: Rect,
pub scroll: ScrollLayout,
pub page: f32,
pub step: f32,
/* private fields */
}Expand description
An overlay scroll bar whose track and thumb use the viewport’s logical pixels.
Fields§
§orientation: Orientation§track: Rect§thumb: Rect§scroll: ScrollLayout§page: f32§step: f32Implementations§
Trait Implementations§
Source§impl Clone for ScrollBarGeometry
impl Clone for ScrollBarGeometry
impl Copy for ScrollBarGeometry
Source§impl Debug for ScrollBarGeometry
impl Debug for ScrollBarGeometry
Source§impl PartialEq for ScrollBarGeometry
impl PartialEq for ScrollBarGeometry
impl StructuralPartialEq for ScrollBarGeometry
Auto Trait Implementations§
impl Forget for ScrollBarGeometry
impl Freeze for ScrollBarGeometry
impl Move for ScrollBarGeometry
impl RefUnwindSafe for ScrollBarGeometry
impl Send for ScrollBarGeometry
impl Sync for ScrollBarGeometry
impl Unpin for ScrollBarGeometry
impl UnsafeUnpin for ScrollBarGeometry
impl UnwindSafe for ScrollBarGeometry
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