Enum icon_loader::IconFileType
source · pub enum IconFileType {
PNG,
SVG,
XPM,
}
Expand description
Enum representing the different file types an icon can be.
Variants§
Trait Implementations§
source§impl AsRef<str> for IconFileType
impl AsRef<str> for IconFileType
source§impl Clone for IconFileType
impl Clone for IconFileType
source§fn clone(&self) -> IconFileType
fn clone(&self) -> IconFileType
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 IconFileType
impl Debug for IconFileType
source§impl Hash for IconFileType
impl Hash for IconFileType
source§impl PartialEq<IconFileType> for IconFileType
impl PartialEq<IconFileType> for IconFileType
source§fn eq(&self, other: &IconFileType) -> bool
fn eq(&self, other: &IconFileType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IconFileType
impl Eq for IconFileType
impl StructuralEq for IconFileType
impl StructuralPartialEq for IconFileType
Auto Trait Implementations§
impl RefUnwindSafe for IconFileType
impl Send for IconFileType
impl Sync for IconFileType
impl Unpin for IconFileType
impl UnwindSafe for IconFileType
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