#[non_exhaustive]pub enum FontPalette {
Dark,
Light,
Normal,
Raw(Raw),
}Expand description
A value of font-palette.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FontPalette
impl Clone for FontPalette
Source§fn clone(&self) -> FontPalette
fn clone(&self) -> FontPalette
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 moreSource§impl Debug for FontPalette
impl Debug for FontPalette
Source§impl Display for FontPalette
impl Display for FontPalette
Source§impl From<Raw> for FontPalette
impl From<Raw> for FontPalette
Source§impl PartialEq for FontPalette
impl PartialEq for FontPalette
impl StructuralPartialEq for FontPalette
Auto Trait Implementations§
impl Freeze for FontPalette
impl RefUnwindSafe for FontPalette
impl Send for FontPalette
impl Sync for FontPalette
impl Unpin for FontPalette
impl UnsafeUnpin for FontPalette
impl UnwindSafe for FontPalette
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