Struct kas_widgets::view::driver::Slider [−][src]
pub struct Slider<T: SliderType, D: Directional> { /* fields omitted */ }
Expand description
crate::Slider
view widget constructor
Implementations
Construct, with given min
, max
and step
(see Slider::new
)
Construct, with given min
, max
, step
and direction
(see Slider::new_with_direction
)
Trait Implementations
Auto Trait Implementations
impl<T, D> RefUnwindSafe for Slider<T, D> where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D> UnwindSafe for Slider<T, D> where
D: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more