pub struct OmarchyTheme {
pub name: String,
pub colors: Colors,
pub font_family: Option<String>,
}Expand description
The Omarchy theme currently applied, as read from disk.
Fields§
§name: StringThe theme’s name (from theme.name), for diagnostics.
colors: Colors§font_family: Option<String>Omarchy’s monospace family, or None when fontconfig isn’t available.
Trait Implementations§
Source§impl Clone for OmarchyTheme
impl Clone for OmarchyTheme
Source§impl Debug for OmarchyTheme
impl Debug for OmarchyTheme
Source§impl PartialEq for OmarchyTheme
impl PartialEq for OmarchyTheme
impl StructuralPartialEq for OmarchyTheme
Auto Trait Implementations§
impl Freeze for OmarchyTheme
impl RefUnwindSafe for OmarchyTheme
impl Send for OmarchyTheme
impl Sync for OmarchyTheme
impl Unpin for OmarchyTheme
impl UnsafeUnpin for OmarchyTheme
impl UnwindSafe for OmarchyTheme
Blanket Implementations§
Source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more