pub struct LoadedTheme {
pub name: String,
pub theme: Theme,
pub source: PathBuf,
}Expand description
A successfully loaded file theme, ready to apply.
Fields§
§name: StringTheme name from the JSON (name field), for messages.
theme: ThemeThe parsed theme (default spacing/border styles).
source: PathBufThe file it came from, for diagnostics.
Implementations§
Trait Implementations§
Source§impl Clone for LoadedTheme
impl Clone for LoadedTheme
Auto Trait Implementations§
impl Freeze for LoadedTheme
impl RefUnwindSafe for LoadedTheme
impl Send for LoadedTheme
impl Sync for LoadedTheme
impl Unpin for LoadedTheme
impl UnsafeUnpin for LoadedTheme
impl UnwindSafe for LoadedTheme
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