pub struct Icon {
pub svg: &'static str,
pub slug: &'static str,
pub version: &'static str,
pub deprecated: bool,
pub author: &'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.
version: &'static strThe version of the icon.
deprecated: boolA flag to indicate deprecation of the icon.
The author of the icon.
Trait Implementations§
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin 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