pub struct Props {
pub headers: Vec<String>,
pub rows: Vec<Vec<String>>,
pub rich_rows: Vec<Vec<CellMarkup>>,
pub footer_row: Vec<CellMarkup>,
pub striped: bool,
pub hoverable: bool,
pub compact: bool,
pub caption: Option<String>,
pub right_align_cols: Vec<usize>,
}Fields§
§headers: Vec<String>§rows: Vec<Vec<String>>§rich_rows: Vec<Vec<CellMarkup>>§striped: bool§hoverable: bool§compact: bool§caption: Option<String>§right_align_cols: Vec<usize>Column indices that should be right-aligned in headers
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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