MaterialColorSpec
enum · ferroui-themes-material · v0.5.0
enum MaterialColorSpec
Source-spec selection for locally generated phone schemes. The default is
exactly Google's DynamicScheme.DEFAULT_SPEC_VERSION at the pinned commit.
This never changes imported Android colors or the AndroidX baseline schemes.
Members
Spec2021
Spec2021
Spec2025
Spec2025
Spec2026
Spec2026
effective_for
const fn effective_for(self: Self, style: MaterialPaletteStyle) -> Self
Apply Google's supported-variant fallback. The 2026 spec introduces a separate CMF multi-source variant, which this single-seed API does not expose. For these nine phone styles its results are identical to 2025.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherEquivalent<K>CastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>CloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.