pub struct EuvListItem {
pub title: &'static str,
pub desc: &'static str,
pub meta: &'static str,
}Expand description
One row of the euv_list component.
A row is a title, an optional description line, and optional trailing meta text. The two optional fields are skipped at render time, so a terse one-line row leaves no empty gap in the row body.
Fields§
§title: &'static strThe row headline rendered in c_euv_list_item_title.
desc: &'static strThe optional row description rendered in c_euv_list_item_desc
(skipped when empty).
meta: &'static strThe optional trailing meta text rendered in c_euv_list_item_meta
(skipped when empty).
Implementations§
Source§impl EuvListItem
impl EuvListItem
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_desc(&self) -> &'static str
pub fn get_mut_desc(&mut self) -> &mut &'static str
pub fn set_desc(&mut self, val: &'static str) -> &mut Self
pub fn get_meta(&self) -> &'static str
pub fn get_mut_meta(&mut self) -> &mut &'static str
pub fn set_meta(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EuvListItem
impl RefUnwindSafe for EuvListItem
impl Send for EuvListItem
impl Sync for EuvListItem
impl Unpin for EuvListItem
impl UnsafeUnpin for EuvListItem
impl UnwindSafe for EuvListItem
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