pub struct NumberRangeFieldProps {
pub label: String,
pub current_value: Option<(f64, f64)>,
pub default: (f64, f64),
pub on_change: Callback<Option<(f64, f64)>>,
pub min: Option<f64>,
pub max: Option<f64>,
pub step: Option<f64>,
}Fields§
§label: String§current_value: Option<(f64, f64)>§default: (f64, f64)§on_change: Callback<Option<(f64, f64)>>§min: Option<f64>§max: Option<f64>§step: Option<f64>Trait Implementations§
source§impl Clone for NumberRangeFieldProps
impl Clone for NumberRangeFieldProps
source§fn clone(&self) -> NumberRangeFieldProps
fn clone(&self) -> NumberRangeFieldProps
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 Debug for NumberRangeFieldProps
impl Debug for NumberRangeFieldProps
source§impl PartialEq for NumberRangeFieldProps
impl PartialEq for NumberRangeFieldProps
source§impl Properties for NumberRangeFieldProps
impl Properties for NumberRangeFieldProps
impl StructuralPartialEq for NumberRangeFieldProps
Auto Trait Implementations§
impl Freeze for NumberRangeFieldProps
impl !RefUnwindSafe for NumberRangeFieldProps
impl !Send for NumberRangeFieldProps
impl !Sync for NumberRangeFieldProps
impl Unpin for NumberRangeFieldProps
impl !UnwindSafe for NumberRangeFieldProps
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.