leptos_use

Type Alias ConstraintBool

Source
pub type ConstraintBool = ConstraintExactIdeal<bool>;

Aliased Type§

enum ConstraintBool {
    Single(Option<bool>),
    ExactIdeal {
        exact: Option<bool>,
        ideal: Option<bool>,
    },
}

Variants§

§

Single(Option<bool>)

§

ExactIdeal

Fields

§exact: Option<bool>
§ideal: Option<bool>

Trait Implementations§

Source§

impl From<bool> for ConstraintBool

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.