pub struct Style {
pub rail: Rail,
pub handle: Handle,
}Expand description
The appearance of a slider.
Fields§
§rail: RailThe colors of the rail of the slider.
handle: HandleThe appearance of the Handle of the slider.
Implementations§
Source§impl Style
impl Style
Sourcepub fn with_circular_handle(self, radius: impl Into<Pixels>) -> Self
pub fn with_circular_handle(self, radius: impl Into<Pixels>) -> Self
Changes the HandleShape of the Style to a circle
with the given radius.
Trait Implementations§
impl Copy for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin for Style
impl UnwindSafe for Style
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