pub struct TableStyle {Show 19 fields
pub style: Style,
pub block: Option<Block<'static>>,
pub border_style: Option<Style>,
pub title_style: Option<Style>,
pub scroll: Option<ScrollStyle>,
pub header: Option<Style>,
pub footer: Option<Style>,
pub focus_style: Option<Style>,
pub select_row: Option<Style>,
pub select_column: Option<Style>,
pub select_cell: Option<Style>,
pub select_header: Option<Style>,
pub select_footer: Option<Style>,
pub show_row_focus: bool,
pub show_column_focus: bool,
pub show_cell_focus: bool,
pub show_header_focus: bool,
pub show_footer_focus: bool,
pub non_exhaustive: NonExhaustive,
}Expand description
Combined style.
Fields§
§style: Style§block: Option<Block<'static>>§border_style: Option<Style>§title_style: Option<Style>§scroll: Option<ScrollStyle>§header: Option<Style>§focus_style: Option<Style>§select_row: Option<Style>§select_column: Option<Style>§select_cell: Option<Style>§select_header: Option<Style>§show_row_focus: bool§show_column_focus: bool§show_cell_focus: bool§show_header_focus: bool§non_exhaustive: NonExhaustiveTrait Implementations§
Source§impl Clone for TableStyle
impl Clone for TableStyle
Source§fn clone(&self) -> TableStyle
fn clone(&self) -> TableStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableStyle
impl Debug for TableStyle
Source§impl Default for TableStyle
impl Default for TableStyle
Source§fn default() -> TableStyle
fn default() -> TableStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableStyle
impl RefUnwindSafe for TableStyle
impl Send for TableStyle
impl Sync for TableStyle
impl Unpin for TableStyle
impl UnwindSafe for TableStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more