pub struct ScrollBarStyle { /* private fields */ }Implementations§
Source§impl ScrollBarStyle
impl ScrollBarStyle
pub fn new() -> Self
pub fn track_width(self, value: f32) -> Self
pub fn thumb_width(self, value: f32) -> Self
pub fn thumb_min_height(self, value: f32) -> Self
pub fn track_corner_radius(self, value: f32) -> Self
pub fn thumb_corner_radius(self, value: f32) -> Self
pub fn track_color(self, value: u32) -> Self
pub fn thumb_color(self, value: u32) -> Self
Trait Implementations§
Source§impl Clone for ScrollBarStyle
impl Clone for ScrollBarStyle
Source§fn clone(&self) -> ScrollBarStyle
fn clone(&self) -> ScrollBarStyle
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 moreimpl Copy for ScrollBarStyle
Source§impl Debug for ScrollBarStyle
impl Debug for ScrollBarStyle
Source§impl Default for ScrollBarStyle
impl Default 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