pub struct SliderRange { /* private fields */ }Implementations§
Source§impl SliderRange
impl SliderRange
pub fn from_node(node: &Node) -> Self
pub fn with_value(self, value: f64) -> Self
pub fn snap_mode(self) -> ScrollSnapMode
pub fn preview_fraction(self, fraction: f64) -> f64
pub fn value(self) -> f64
pub fn fraction(self) -> f64
pub fn apply(self, action: RangeAction) -> Option<f64>
Trait Implementations§
Source§impl Clone for SliderRange
impl Clone for SliderRange
impl Copy for SliderRange
Source§impl Debug for SliderRange
impl Debug for SliderRange
Source§impl PartialEq for SliderRange
impl PartialEq for SliderRange
impl StructuralPartialEq for SliderRange
Auto Trait Implementations§
impl Forget for SliderRange
impl Freeze for SliderRange
impl Move for SliderRange
impl RefUnwindSafe for SliderRange
impl Send for SliderRange
impl Sync for SliderRange
impl Unpin for SliderRange
impl UnsafeUnpin for SliderRange
impl UnwindSafe for SliderRange
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