pub struct Rail {
pub backgrounds: (Background, Background),
pub width: f32,
pub border: Border,
}Expand description
The appearance of a slider rail
Fields§
§backgrounds: (Background, Background)The backgrounds of the rail of the slider.
width: f32The width of the stroke of a slider rail.
border: BorderThe border of the rail.
Trait Implementations§
impl Copy for Rail
impl StructuralPartialEq for Rail
Auto Trait Implementations§
impl Freeze for Rail
impl RefUnwindSafe for Rail
impl Send for Rail
impl Sync for Rail
impl Unpin for Rail
impl UnsafeUnpin for Rail
impl UnwindSafe for Rail
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