pub enum Ticks {
Steps(bool),
Parts(u32),
At(Vec<f64>),
}Expand description
A slider’s tick marks.
Variants§
Steps(bool)
One at every step (true), or none (false).
Parts(u32)
The track divided into this many equal parts.
At(Vec<f64>)
One at each of these values.
Trait Implementations§
impl StructuralPartialEq for Ticks
Auto Trait Implementations§
impl Freeze for Ticks
impl RefUnwindSafe for Ticks
impl Send for Ticks
impl Sync for Ticks
impl Unpin for Ticks
impl UnsafeUnpin for Ticks
impl UnwindSafe for Ticks
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