Enum native_windows_gui::NumberSelectData[][src]

pub enum NumberSelectData {
    Int {
        value: i64,
        step: i64,
        max: i64,
        min: i64,
    },
    Float {
        value: f64,
        step: f64,
        max: f64,
        min: f64,
        decimals: u8,
    },
}

The value inside a number select and the limits of that value

Variants

Int

Fields of Int

value: i64step: i64max: i64min: i64
Float

Fields of Float

value: f64step: f64max: f64min: f64decimals: u8

Implementations

impl NumberSelectData[src]

pub fn formatted_value(&self) -> String[src]

pub fn decrease(&mut self)[src]

pub fn increase(&mut self)[src]

Trait Implementations

impl Clone for NumberSelectData[src]

impl Copy for NumberSelectData[src]

impl Debug for NumberSelectData[src]

impl Default for NumberSelectData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.