pub struct ThemeIcon {
pub size: String,
pub ext: &'static str,
pub data: Vec<u8>,
}Expand description
One icon to install into the user’s hicolor theme.
Fields§
§size: StringThe theme’s size directory, such as 48x48 or scalable.
ext: &'static strpng or svg.
data: Vec<u8>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