leptos_use

Type Alias ConstraintDouble

Source
pub type ConstraintDouble = ConstraintRange<f64>;

Aliased Type§

enum ConstraintDouble {
    Single(Option<f64>),
    Range {
        min: Option<f64>,
        max: Option<f64>,
        exact: Option<f64>,
        ideal: Option<f64>,
    },
}

Variants§

§

Single(Option<f64>)

§

Range

Fields

§exact: Option<f64>
§ideal: Option<f64>

Trait Implementations§

Source§

impl From<f64> for ConstraintDouble

Source§

fn from(value: f64) -> Self

Converts to this type from the input type.