pub struct TestIcon;Trait Implementations§
Source§impl SimpleIcon for TestIcon
impl SimpleIcon for TestIcon
fn icon(&self) -> &'static str
Source§fn apply_style(&self, string: &str) -> String
fn apply_style(&self, string: &str) -> String
string will go into the be put into the ICON svg like this style=“{}”
Source§fn apply_class(&self, string: &str) -> String
fn apply_class(&self, string: &str) -> String
string will go into the be put into the ICON svg like this class=“{}”
fn apply_fill(&self, string: &str) -> String
fn apply_id(&self, string: &str) -> String
Auto Trait Implementations§
impl Freeze for TestIcon
impl RefUnwindSafe for TestIcon
impl Send for TestIcon
impl Sync for TestIcon
impl Unpin for TestIcon
impl UnwindSafe for TestIcon
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