pub struct EuvFeature {
pub icon: &'static str,
pub title: &'static str,
pub details: &'static str,
}Expand description
One card of the euv_feature_grid component.
Fields§
§icon: &'static strThe feature icon (emoji, skipped when empty).
title: &'static strThe feature title.
details: &'static strThe feature details.
Implementations§
Source§impl EuvFeature
impl EuvFeature
pub fn get_icon(&self) -> &'static str
pub fn get_mut_icon(&mut self) -> &mut &'static str
pub fn set_icon(&mut self, val: &'static str) -> &mut Self
pub fn get_title(&self) -> &'static str
pub fn get_mut_title(&mut self) -> &mut &'static str
pub fn set_title(&mut self, val: &'static str) -> &mut Self
pub fn get_details(&self) -> &'static str
pub fn get_mut_details(&mut self) -> &mut &'static str
pub fn set_details(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EuvFeature
impl RefUnwindSafe for EuvFeature
impl Send for EuvFeature
impl Sync for EuvFeature
impl Unpin for EuvFeature
impl UnsafeUnpin for EuvFeature
impl UnwindSafe for EuvFeature
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