pub struct TableOptions {
pub overflow: bool,
pub spacing: usize,
pub border: Option<Color>,
}Fields§
§overflow: boolWhether the table should be allowed to overflow.
spacing: usizeHorizontal spacing between table cells.
border: Option<Color>Table border.
Implementations§
Source§impl TableOptions
impl TableOptions
pub fn bordered() -> TableOptions
Trait Implementations§
Source§impl Debug for TableOptions
impl Debug for TableOptions
Source§impl Default for TableOptions
impl Default for TableOptions
Source§fn default() -> TableOptions
fn default() -> TableOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableOptions
impl RefUnwindSafe for TableOptions
impl Send for TableOptions
impl Sync for TableOptions
impl Unpin for TableOptions
impl UnwindSafe for TableOptions
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