pub enum IconSource {
Name(Cow<'static, str>),
Mime(Cow<'static, str>),
}
Variants§
Trait Implementations§
Source§impl Clone for IconSource
impl Clone for IconSource
Source§fn clone(&self) -> IconSource
fn clone(&self) -> IconSource
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 IconSource
impl Debug for IconSource
Source§impl<'de> Deserialize<'de> for IconSource
impl<'de> Deserialize<'de> for IconSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IconSource
impl RefUnwindSafe for IconSource
impl Send for IconSource
impl Sync for IconSource
impl Unpin for IconSource
impl UnwindSafe for IconSource
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