pub struct ThemeInput {
pub brand_colors: Vec<Color>,
}Expand description
The client’s raw theme request.
Fields§
§brand_colors: Vec<Color>Zero or more raw brand colors, in stated priority order.
Empty inputs trip Case 7 and substitute DEFAULT_BRAND.
Implementations§
Source§impl ThemeInput
impl ThemeInput
Trait Implementations§
Source§impl Clone for ThemeInput
impl Clone for ThemeInput
Source§fn clone(&self) -> ThemeInput
fn clone(&self) -> ThemeInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThemeInput
impl RefUnwindSafe for ThemeInput
impl Send for ThemeInput
impl Sync for ThemeInput
impl Unpin for ThemeInput
impl UnsafeUnpin for ThemeInput
impl UnwindSafe for ThemeInput
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