pub struct Primary {
pub base: Pair,
pub weak: Pair,
pub strong: Pair,
}
Expand description
A set of primary colors.
Fields§
§base: Pair
The base primary color.
weak: Pair
A weaker version of the base primary color.
strong: Pair
A stronger version of the base primary color.
Implementations§
Trait Implementations§
impl Copy for Primary
impl StructuralPartialEq for Primary
Auto Trait Implementations§
impl Freeze for Primary
impl RefUnwindSafe for Primary
impl Send for Primary
impl Sync for Primary
impl Unpin for Primary
impl UnwindSafe for Primary
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