pub struct Table<'a> {
pub rows: &'a [Row],
pub widths: &'a [u16],
pub header: Option<&'a Row>,
pub selected: Option<usize>,
pub header_style: Style,
pub selected_style: Style,
}Fields§
§rows: &'a [Row]§widths: &'a [u16]§header: Option<&'a Row>§selected: Option<usize>§header_style: Style§selected_style: StyleImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Table<'a>
impl<'a> RefUnwindSafe for Table<'a>
impl<'a> Send for Table<'a>
impl<'a> Sync for Table<'a>
impl<'a> Unpin for Table<'a>
impl<'a> UnsafeUnpin for Table<'a>
impl<'a> UnwindSafe for Table<'a>
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