pub struct Icon {
pub src: &'static str,
pub mime: Option<&'static str>,
pub sizes: &'static [&'static str],
}Expand description
An icon, by URL or data: URI.
Fields§
§src: &'static str§mime: Option<&'static str>§sizes: &'static [&'static str]Such as 48x48, or any for scalable icons.
Trait Implementations§
impl Copy for Icon
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Forget for Icon
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin for Icon
impl UnsafeUnpin for Icon
impl UnwindSafe for Icon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.