leptos_use

Type Alias ConstraintFacingMode

Source
pub type ConstraintFacingMode = ConstraintExactIdeal<FacingMode>;

Aliased Type§

enum ConstraintFacingMode {
    Single(Option<FacingMode>),
    ExactIdeal {
        exact: Option<FacingMode>,
        ideal: Option<FacingMode>,
    },
}

Variants§

§

Single(Option<FacingMode>)

§

ExactIdeal

Fields

Implementations§

Trait Implementations§

Source§

impl From<FacingMode> for ConstraintFacingMode

Source§

fn from(value: FacingMode) -> Self

Converts to this type from the input type.