pub struct Theme {Show 21 fields
pub top_left: char,
pub middle_left: char,
pub bottom_left: char,
pub top_center: char,
pub center: char,
pub bottom_center: char,
pub top_right: char,
pub middle_right: char,
pub bottom_right: char,
pub top_horizontal: char,
pub middle_horizontal: char,
pub bottom_horizontal: char,
pub left_vertical: char,
pub center_vertical: char,
pub right_vertical: char,
pub separate_header: bool,
pub separate_rows: bool,
pub print_left_border: bool,
pub print_right_border: bool,
pub print_top_border: bool,
pub print_bottom_border: bool,
}
Fields
top_left: char
middle_left: char
bottom_left: char
top_center: char
center: char
bottom_center: char
top_right: char
middle_right: char
bottom_right: char
top_horizontal: char
middle_horizontal: char
bottom_horizontal: char
left_vertical: char
center_vertical: char
right_vertical: char
separate_header: bool
separate_rows: bool
print_left_border: bool
print_right_border: bool
print_top_border: bool
print_bottom_border: bool
Implementations
sourceimpl Theme
impl Theme
pub fn basic() -> Theme
pub fn thin() -> Theme
pub fn light() -> Theme
pub fn compact() -> Theme
pub fn with_love() -> Theme
pub fn compact_double() -> Theme
pub fn rounded() -> Theme
pub fn reinforced() -> Theme
pub fn heavy() -> Theme
pub fn none() -> Theme
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more