pub struct ThemeIcon {
pub path: PathBuf,
pub folder: PathBuf,
pub size: Option<u32>,
pub symbolic: bool,
pub extension: String,
}Expand description
One application icon in an icon theme folder.
Fields§
§path: PathBufRelative to the folder, as 48x48/apps/name.png.
folder: PathBufThe folder it goes in, as 48x48/apps.
size: Option<u32>Width and height for a PNG; None for SVG.
symbolic: boolWhether it is the symbolic (single-colour) form, name-symbolic.svg.
extension: Stringpng or svg.
Trait Implementations§
impl Eq for ThemeIcon
impl StructuralPartialEq for ThemeIcon
Auto Trait Implementations§
impl Freeze for ThemeIcon
impl RefUnwindSafe for ThemeIcon
impl Send for ThemeIcon
impl Sync for ThemeIcon
impl Unpin for ThemeIcon
impl UnsafeUnpin for ThemeIcon
impl UnwindSafe for ThemeIcon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.