FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialDynamicColorError

    enum · ferroui-themes-material · v0.5.0

    enum MaterialDynamicColorError
    

    A failed import identifies the exact missing tone or role; it never substitutes an unrelated color or interpolates missing platform tones in RGB.

    View source

    Members

    InvalidContrast

    InvalidContrast(f64)
    

    Source

    InvalidHueOrChroma

    InvalidHueOrChroma { hue: f64, chroma: f64 }
    

    Source

    InvalidTone

    InvalidTone(u8)
    

    Source

    DuplicateTone

    DuplicateTone(u8)
    

    Source

    MissingTone

    MissingTone { palette: MaterialPaletteFamily, tone: u8 }
    

    Source

    MissingSystemRole

    MissingSystemRole(crate::MaterialColorRole)
    

    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
    • ToString
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • CastableFrom<ST, Uninit, Uninit>
    • CastableFrom<ST, Initialized, Initialized>
    • Read<Exclusive, BecauseExclusive>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Display
    • Error
    • From<MaterialDynamicColorError>

    Availability

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