pub struct Theme {
pub name: String,
pub display_name: String,
pub paths: Vec<PathBuf>,
pub inherits: Option<Vec<String>>,
pub comment: Option<String>,
}Expand description
Metadata about a theme
Fields§
§name: StringName (in the file system) of the theme
display_name: StringDisplay name of the theme (from the index file)
paths: Vec<PathBuf>Paths to the directories where this themes icons live
inherits: Option<Vec<String>>Themes that this theme inherit from (will fall back to these)
comment: Option<String>Comment for this theme
Trait Implementations§
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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