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: PathBufThe path to the icon
theme: StringThe name of the theme to icon is from
icon_type: IconTypeThe type of icon i.e. the file type
min_size: u16The minimum size of the icon
max_size: u16The maximum size of the icon
scale: u16The scale the icon is used for
Trait Implementations§
impl Eq for IconPath
impl StructuralPartialEq for IconPath
Auto Trait Implementations§
impl Freeze for IconPath
impl RefUnwindSafe for IconPath
impl Send for IconPath
impl Sync for IconPath
impl Unpin for IconPath
impl UnwindSafe for IconPath
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