pub struct EuvListProps {
pub items: Vec<EuvListItem>,
pub empty_text: &'static str,
}Expand description
Props for the euv_list component.
Defines the strongly-typed interface for a list of titled rows. The rows are ordered top to bottom, matching the reading direction of the column they are rendered in.
Fields§
§items: Vec<EuvListItem>The rows to render; an empty list renders the empty state instead.
empty_text: &'static strThe empty-state text rendered when there are no items (skipped when empty, leaving the list blank instead).
Trait Implementations§
Source§impl Clone for EuvListProps
impl Clone for EuvListProps
Source§impl Debug for EuvListProps
impl Debug for EuvListProps
Auto Trait Implementations§
impl Freeze for EuvListProps
impl RefUnwindSafe for EuvListProps
impl Send for EuvListProps
impl Sync for EuvListProps
impl Unpin for EuvListProps
impl UnsafeUnpin for EuvListProps
impl UnwindSafe for EuvListProps
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