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§
Source§impl Clone for EuvFeature
impl Clone for EuvFeature
Source§fn clone(&self) -> EuvFeature
fn clone(&self) -> EuvFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EuvFeature
Source§impl Debug for EuvFeature
impl Debug for EuvFeature
Source§impl Default for EuvFeature
impl Default for EuvFeature
Source§fn default() -> EuvFeature
fn default() -> EuvFeature
Returns the “default value” for a type. Read more
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