FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialDynamicColorOptions

    struct · ferroui-themes-material · v0.5.0

    struct MaterialDynamicColorOptions
    

    Inputs for a generated dynamic scheme. Contrast is in [-1, 1]: zero is standard, 0.5 is medium, and 1 is high contrast. NaN/infinite/out-of-range values are rejected.

    View source

    Members

    dark

    dark: bool
    

    Source

    contrast_level

    contrast_level: f64
    

    Source

    style

    style: MaterialPaletteStyle
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • CastableFrom<ST, Uninit, Uninit>
    • CastableFrom<ST, Initialized, Initialized>
    • Read<Exclusive, BecauseExclusive>
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.