Struct ambient_ui::text::FontAwesomeIcon
source · pub struct FontAwesomeIcon {
pub icon: u32,
pub solid: bool,
}
Expand description
A FontAwesome icon.
Fields§
§icon: u32
The icon codepoint.
solid: bool
Whether the icon should be solid or not.
Implementations§
Trait Implementations§
source§impl Clone for FontAwesomeIcon
impl Clone for FontAwesomeIcon
source§fn clone(&self) -> FontAwesomeIcon
fn clone(&self) -> FontAwesomeIcon
Returns a copy 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 FontAwesomeIcon
impl Debug for FontAwesomeIcon
source§impl ElementComponent for FontAwesomeIcon
impl ElementComponent for FontAwesomeIcon
Auto Trait Implementations§
impl RefUnwindSafe for FontAwesomeIcon
impl Send for FontAwesomeIcon
impl Sync for FontAwesomeIcon
impl Unpin for FontAwesomeIcon
impl UnwindSafe for FontAwesomeIcon
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> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.