pub struct TableStyle {Show 18 fields
pub style: Style,
pub header: Option<Style>,
pub footer: 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 focus_style: Option<Style>,
pub block: Option<Block<'static>>,
pub border_style: Option<Style>,
pub scroll: Option<ScrollStyle>,
pub non_exhaustive: NonExhaustive,
}
Expand description
Combined style.
Fields§
§style: Style
§header: 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
§focus_style: Option<Style>
§block: Option<Block<'static>>
§border_style: Option<Style>
§scroll: Option<ScrollStyle>
§non_exhaustive: NonExhaustive
Trait Implementations§
Source§impl Debug for TableStyle
impl Debug for TableStyle
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> 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