pub struct ScrollbarStyle {
pub thumb_color: Color,
pub thumb_hover_color: Color,
pub thumb_radius: f32,
pub thumb_width: f32,
pub hit_width: f32,
pub thumb_min_size: f32,
pub thumb_track_ratio: f32,
}Fields§
§thumb_color: Color§thumb_hover_color: Color指针悬停(或拖拽中)在 thumb 上时的高亮色
thumb_radius: f32§thumb_width: f32§hit_width: f32§thumb_min_size: f32§thumb_track_ratio: f32Trait Implementations§
Source§impl Clone for ScrollbarStyle
impl Clone for ScrollbarStyle
Source§impl Debug for ScrollbarStyle
impl Debug for ScrollbarStyle
Source§impl PartialEq for ScrollbarStyle
impl PartialEq for ScrollbarStyle
impl StructuralPartialEq for ScrollbarStyle
Auto Trait Implementations§
impl Freeze for ScrollbarStyle
impl RefUnwindSafe for ScrollbarStyle
impl Send for ScrollbarStyle
impl Sync for ScrollbarStyle
impl Unpin for ScrollbarStyle
impl UnsafeUnpin for ScrollbarStyle
impl UnwindSafe for ScrollbarStyle
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