pub struct ProfileColor {
pub primary: Option<Box<Palette>>,
pub secondary: Option<Box<Palette>>,
pub accents: Option<Box<Palette>>,
pub tertiary: Option<Box<Palette>>,
pub emisssive: Option<Vec<Palette>>,
pub energy: Option<Vec<Palette>>,
}Fields§
§primary: Option<Box<Palette>>§secondary: Option<Box<Palette>>§accents: Option<Box<Palette>>§tertiary: Option<Box<Palette>>§emisssive: Option<Vec<Palette>>§energy: Option<Vec<Palette>>Implementations§
Source§impl ProfileColor
impl ProfileColor
pub fn new() -> ProfileColor
Trait Implementations§
Source§impl Clone for ProfileColor
impl Clone for ProfileColor
Source§fn clone(&self) -> ProfileColor
fn clone(&self) -> ProfileColor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfileColor
impl Debug for ProfileColor
Source§impl Default for ProfileColor
impl Default for ProfileColor
Source§fn default() -> ProfileColor
fn default() -> ProfileColor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileColor
impl<'de> Deserialize<'de> for ProfileColor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProfileColor
impl PartialEq for ProfileColor
Source§impl Serialize for ProfileColor
impl Serialize for ProfileColor
impl StructuralPartialEq for ProfileColor
Auto Trait Implementations§
impl Freeze for ProfileColor
impl RefUnwindSafe for ProfileColor
impl Send for ProfileColor
impl Sync for ProfileColor
impl Unpin for ProfileColor
impl UnwindSafe for ProfileColor
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