Enum icon_loader::IconSizeType
source · pub enum IconSizeType {
Fixed,
Scalable,
Threshold,
}
Expand description
The size type of icons contained in an IconDir
.
Variants§
Fixed
Icons with a fixed size.
Scalable
Scalable icons.
Threshold
Icons with a fixed size and a threshold.
Trait Implementations§
source§impl Clone for IconSizeType
impl Clone for IconSizeType
source§fn clone(&self) -> IconSizeType
fn clone(&self) -> IconSizeType
Returns a copy 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 IconSizeType
impl Debug for IconSizeType
source§impl Hash for IconSizeType
impl Hash for IconSizeType
source§impl PartialEq<IconSizeType> for IconSizeType
impl PartialEq<IconSizeType> for IconSizeType
source§fn eq(&self, other: &IconSizeType) -> bool
fn eq(&self, other: &IconSizeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IconSizeType
impl Eq for IconSizeType
impl StructuralEq for IconSizeType
impl StructuralPartialEq for IconSizeType
Auto Trait Implementations§
impl RefUnwindSafe for IconSizeType
impl Send for IconSizeType
impl Sync for IconSizeType
impl Unpin for IconSizeType
impl UnwindSafe for IconSizeType
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more