pub struct Preset {
pub name: &'static str,
pub family: &'static str,
pub theme: Theme,
}Expand description
A bundled theme alongside the file-stem grouping it came from (family),
e.g. "catppuccin" for all four Catppuccin variants. Useful for finding
the light/dark counterpart of a chosen theme.
Fields§
§name: &'static str§family: &'static str§theme: ThemeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Preset
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnsafeUnpin for Preset
impl UnwindSafe for Preset
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