Enum icon_loader::IconFileType
source · [−]pub enum IconFileType {
PNG,
SVG,
XPM,
}Expand description
Enum representing the different file types an icon can be.
Variants
PNG
PNG file type
SVG
SVG file type
XPM
XPM file type
Trait Implementations
sourceimpl AsRef<str> for IconFileType
impl AsRef<str> for IconFileType
sourceimpl Clone for IconFileType
impl Clone for IconFileType
sourcefn clone(&self) -> IconFileType
fn clone(&self) -> IconFileType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IconFileType
impl Debug for IconFileType
sourceimpl Hash for IconFileType
impl Hash for IconFileType
sourceimpl PartialEq<IconFileType> for IconFileType
impl PartialEq<IconFileType> for IconFileType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more