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: String

Name (in the file system) of the theme

display_name: String

Display 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

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.