pub struct SliderDataInternal {
pub orientation: Orientation,
pub size: f32,
pub thumb_size: f32,
pub range: Range<f32>,
pub step: f32,
pub keyboard_fraction: f32,
}
Expand description
Internal data used by the slider.
Fields§
§orientation: Orientation
The orientation of the slider.
size: f32
The size of the slider.
thumb_size: f32
The size of the thumb of the slider.
range: Range<f32>
The range of the slider.
step: f32
The step of the slider.
keyboard_fraction: f32
How much the slider should change in response to keyboard events.
Trait Implementations§
Source§impl Clone for SliderDataInternal
impl Clone for SliderDataInternal
Source§fn clone(&self) -> SliderDataInternal
fn clone(&self) -> SliderDataInternal
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Data for SliderDataInternal
impl Data for SliderDataInternal
Source§fn same(&self, other: &SliderDataInternal) -> bool
fn same(&self, other: &SliderDataInternal) -> bool
A method which determines whether two pieces of data are the same.
Source§impl Debug for SliderDataInternal
impl Debug for SliderDataInternal
Source§impl Default for SliderDataInternal
impl Default for SliderDataInternal
Source§fn default() -> SliderDataInternal
fn default() -> SliderDataInternal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SliderDataInternal
impl RefUnwindSafe for SliderDataInternal
impl Send for SliderDataInternal
impl Sync for SliderDataInternal
impl Unpin for SliderDataInternal
impl UnwindSafe for SliderDataInternal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.