pub struct Scheme {Show 49 fields
pub primary: Argb,
pub on_primary: Argb,
pub primary_container: Argb,
pub on_primary_container: Argb,
pub inverse_primary: Argb,
pub primary_fixed: Argb,
pub primary_fixed_dim: Argb,
pub on_primary_fixed: Argb,
pub on_primary_fixed_variant: Argb,
pub secondary: Argb,
pub on_secondary: Argb,
pub secondary_container: Argb,
pub on_secondary_container: Argb,
pub secondary_fixed: Argb,
pub secondary_fixed_dim: Argb,
pub on_secondary_fixed: Argb,
pub on_secondary_fixed_variant: Argb,
pub tertiary: Argb,
pub on_tertiary: Argb,
pub tertiary_container: Argb,
pub on_tertiary_container: Argb,
pub tertiary_fixed: Argb,
pub tertiary_fixed_dim: Argb,
pub on_tertiary_fixed: Argb,
pub on_tertiary_fixed_variant: Argb,
pub error: Argb,
pub on_error: Argb,
pub error_container: Argb,
pub on_error_container: Argb,
pub surface_dim: Argb,
pub surface: Argb,
pub surface_tint: Argb,
pub surface_bright: Argb,
pub surface_container_lowest: Argb,
pub surface_container_low: Argb,
pub surface_container: Argb,
pub surface_container_high: Argb,
pub surface_container_highest: Argb,
pub on_surface: Argb,
pub on_surface_variant: Argb,
pub outline: Argb,
pub outline_variant: Argb,
pub inverse_surface: Argb,
pub inverse_on_surface: Argb,
pub surface_variant: Argb,
pub background: Argb,
pub on_background: Argb,
pub shadow: Argb,
pub scrim: Argb,
}Fields§
§primary: Argb§on_primary: Argb§primary_container: Argb§on_primary_container: Argb§inverse_primary: Argb§primary_fixed: Argb§primary_fixed_dim: Argb§on_primary_fixed: Argb§on_primary_fixed_variant: Argb§secondary: Argb§on_secondary: Argb§secondary_container: Argb§on_secondary_container: Argb§secondary_fixed: Argb§secondary_fixed_dim: Argb§on_secondary_fixed: Argb§on_secondary_fixed_variant: Argb§tertiary: Argb§on_tertiary: Argb§tertiary_container: Argb§on_tertiary_container: Argb§tertiary_fixed: Argb§tertiary_fixed_dim: Argb§on_tertiary_fixed: Argb§on_tertiary_fixed_variant: Argb§error: Argb§on_error: Argb§error_container: Argb§on_error_container: Argb§surface_dim: Argb§surface: Argb§surface_tint: Argb§surface_bright: Argb§surface_container_lowest: Argb§surface_container_low: Argb§surface_container: Argb§surface_container_high: Argb§surface_container_highest: Argb§on_surface: Argb§on_surface_variant: Argb§outline: Argb§outline_variant: Argb§inverse_surface: Argb§inverse_on_surface: Argb§surface_variant: Argb§background: Argb§on_background: Argb§shadow: Argb§scrim: ArgbImplementations§
Source§impl Scheme
impl Scheme
pub const fn new( primary: Argb, on_primary: Argb, primary_container: Argb, on_primary_container: Argb, inverse_primary: Argb, primary_fixed: Argb, primary_fixed_dim: Argb, on_primary_fixed: Argb, on_primary_fixed_variant: Argb, secondary: Argb, on_secondary: Argb, secondary_container: Argb, on_secondary_container: Argb, secondary_fixed: Argb, secondary_fixed_dim: Argb, on_secondary_fixed: Argb, on_secondary_fixed_variant: Argb, tertiary: Argb, on_tertiary: Argb, tertiary_container: Argb, on_tertiary_container: Argb, tertiary_fixed: Argb, tertiary_fixed_dim: Argb, on_tertiary_fixed: Argb, on_tertiary_fixed_variant: Argb, error: Argb, on_error: Argb, error_container: Argb, on_error_container: Argb, surface_dim: Argb, surface: Argb, surface_tint: Argb, surface_bright: Argb, surface_container_lowest: Argb, surface_container_low: Argb, surface_container: Argb, surface_container_high: Argb, surface_container_highest: Argb, on_surface: Argb, on_surface_variant: Argb, outline: Argb, outline_variant: Argb, inverse_surface: Argb, inverse_on_surface: Argb, surface_variant: Argb, background: Argb, on_background: Argb, shadow: Argb, scrim: Argb, ) -> Self
Trait Implementations§
impl Eq for Scheme
Source§impl From<DynamicScheme> for Scheme
impl From<DynamicScheme> for Scheme
Source§fn from(scheme: DynamicScheme) -> Self
fn from(scheme: DynamicScheme) -> Self
Converts to this type from the input type.
Source§impl IntoIterator for Scheme
impl IntoIterator for Scheme
Source§impl PartialEq<Scheme> for SchemeFromPalette
impl PartialEq<Scheme> for SchemeFromPalette
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnsafeUnpin for Scheme
impl UnwindSafe for Scheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.