pub struct Icon {
pub svg: &'static str,
pub slug: &'static str,
}Expand description
A Generic structure to describe a single icon.
Fields§
§svg: &'static strThe SVG data.
slug: &'static strThe slug to identify the icon.
Trait Implementations§
Auto Trait Implementations§
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