pub struct EuvTableProps {
pub columns: Vec<EuvTableColumn>,
pub rows: Vec<EuvTableRow>,
pub caption: &'static str,
pub zebra: bool,
pub class: Css,
}Expand description
Props for the euv_table component.
Defines the strongly-typed interface for a bordered data table with a header, a zebra mode, and an optional caption.
Fields§
§columns: Vec<EuvTableColumn>The column definitions driving the header and each cell’s alignment.
rows: Vec<EuvTableRow>The body rows; an empty list renders an empty <tbody>.
caption: &'static strThe caption rendered under the table (skipped when empty).
zebra: boolWhether every other row gets the c_euv_table_row_zebra fill.
class: CssAn optional application class composed with the design-system table classes.
Trait Implementations§
Source§impl Clone for EuvTableProps
impl Clone for EuvTableProps
Source§impl Debug for EuvTableProps
impl Debug for EuvTableProps
Auto Trait Implementations§
impl Forget for EuvTableProps
impl Freeze for EuvTableProps
impl Move for EuvTableProps
impl RefUnwindSafe for EuvTableProps
impl Send for EuvTableProps
impl Sync for EuvTableProps
impl Unpin for EuvTableProps
impl UnsafeUnpin for EuvTableProps
impl UnwindSafe for EuvTableProps
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