[][src]Enum hporecord::ParamRange

pub enum ParamRange {
    Numerical {
        min: f64,
        max: f64,
        step: Option<f64>,
        scale: Scale,
    },
    Categorical {
        choices: Vec<String>,
    },
}

Variants

Numerical

Fields of Numerical

min: f64max: f64step: Option<f64>scale: Scale
Categorical

Fields of Categorical

choices: Vec<String>

Implementations

impl ParamRange[src]

pub fn min(&self) -> f64[src]

pub fn max(&self) -> f64[src]

pub fn scale(&self) -> Scale[src]

Trait Implementations

impl Clone for ParamRange[src]

impl Debug for ParamRange[src]

impl<'de> Deserialize<'de> for ParamRange[src]

impl PartialEq<ParamRange> for ParamRange[src]

impl Serialize for ParamRange[src]

impl StructuralPartialEq for ParamRange[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.