pub struct IconConfig {
pub size: Option<u32>,
pub filter_type: FilterType,
}Expand description
Configuration for icon processing behavior
Fields§
§size: Option<u32>Target size for icons (width and height will be equal) Default: None (use platform default size)
filter_type: FilterTypeThe algorithm to use for icon scaling, supports Windows and Linux x11
Implementations§
Source§impl IconConfig
impl IconConfig
Trait Implementations§
Source§impl Clone for IconConfig
impl Clone for IconConfig
Source§fn clone(&self) -> IconConfig
fn clone(&self) -> IconConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IconConfig
impl Debug for IconConfig
Auto Trait Implementations§
impl Freeze for IconConfig
impl RefUnwindSafe for IconConfig
impl Send for IconConfig
impl Sync for IconConfig
impl Unpin for IconConfig
impl UnwindSafe for IconConfig
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