pub struct ColorPair {
pub foreground: Argb,
pub background: Argb,
}Expand description
Resolved foreground and background colors for a Material pairing.
Fields§
§foreground: ArgbForeground content color (text, icons, indicators).
background: ArgbBackground container or surface color.
Trait Implementations§
impl Copy for ColorPair
impl Eq for ColorPair
impl StructuralPartialEq for ColorPair
Auto Trait Implementations§
impl Forget for ColorPair
impl Freeze for ColorPair
impl Move for ColorPair
impl RefUnwindSafe for ColorPair
impl Send for ColorPair
impl Sync for ColorPair
impl Unpin for ColorPair
impl UnsafeUnpin for ColorPair
impl UnwindSafe for ColorPair
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.