Expand description
Options for rendering a values as a slider.
Marking a struct member will give it a default rendering behavior. For example,
#[inspect_slider(min_value = 5.0, max_value = 53.0)]
Fields
min_value: Option<f32>
The minimum value for the slider
max_value: Option<f32>
The maximum value on the slider
Trait Implementations
sourceimpl Debug for InspectArgsSlider
impl Debug for InspectArgsSlider
sourceimpl Default for InspectArgsSlider
impl Default for InspectArgsSlider
sourcefn default() -> InspectArgsSlider
fn default() -> InspectArgsSlider
Returns the “default value” for a type. Read more
sourceimpl From<InspectArgsDefault> for InspectArgsSlider
impl From<InspectArgsDefault> for InspectArgsSlider
sourcefn from(default_args: InspectArgsDefault) -> Self
fn from(default_args: InspectArgsDefault) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for InspectArgsSlider
impl Send for InspectArgsSlider
impl Sync for InspectArgsSlider
impl Unpin for InspectArgsSlider
impl UnwindSafe for InspectArgsSlider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.