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 Forget for LoadedTheme
impl Freeze for LoadedTheme
impl Move for LoadedTheme
impl RefUnwindSafe for LoadedTheme
impl Send for LoadedThemewhere
RawVecInner: Send,
impl Sync for LoadedThemewhere
RawVecInner: Sync,
impl Unpin for LoadedTheme
impl UnsafeUnpin for LoadedTheme
impl UnwindSafe for LoadedThemewhere
RawVecInner: UnwindSafe,
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