pub struct IconPath {
    pub path: PathBuf,
    pub theme: String,
    pub icon_type: IconType,
    pub min_size: u16,
    pub max_size: u16,
    pub scale: u16,
}
Expand description

A path to an icon and meta data about that icon

Fields

path: PathBuf

The path to the icon

theme: String

The name of the theme to icon is from

icon_type: IconType

The type of icon i.e. the file type

min_size: u16

The minimum size of the icon

max_size: u16

The maximum size of the icon

scale: u16

The scale the icon is used for

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.