pub struct StepperProps {
pub value: f64,
pub min: f64,
pub max: f64,
pub step: f64,
pub decimals: u32,
}Expand description
Full props (realize) for the native leaf. Everything but value is set once at build.
Fields§
§value: f64§min: f64§max: f64§step: f64§decimals: u32Fraction digits the field shows (and the native widget’s display precision).
Trait Implementations§
Source§impl Clone for StepperProps
impl Clone for StepperProps
Source§fn clone(&self) -> StepperProps
fn clone(&self) -> StepperProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StepperProps
impl Debug for StepperProps
Source§impl Default for StepperProps
impl Default for StepperProps
Source§impl PartialEq for StepperProps
impl PartialEq for StepperProps
impl StructuralPartialEq for StepperProps
Auto Trait Implementations§
impl Freeze for StepperProps
impl RefUnwindSafe for StepperProps
impl Send for StepperProps
impl Sync for StepperProps
impl Unpin for StepperProps
impl UnsafeUnpin for StepperProps
impl UnwindSafe for StepperProps
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