Struct cli_table::format::SeparatorBuilder
source · pub struct SeparatorBuilder(/* private fields */);
Expand description
Builder for separator
Implementations§
source§impl SeparatorBuilder
impl SeparatorBuilder
sourcepub fn column(self, column: Option<VerticalLine>) -> Self
pub fn column(self, column: Option<VerticalLine>) -> Self
Set column separators of a table
sourcepub fn row(self, row: Option<HorizontalLine>) -> Self
pub fn row(self, row: Option<HorizontalLine>) -> Self
Set column separators of a table
sourcepub fn title(self, title: Option<HorizontalLine>) -> Self
pub fn title(self, title: Option<HorizontalLine>) -> Self
Set title of a table
§None
When title separator is not preset (i.e., it is None
), row separator is displayed in place of title separator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeparatorBuilder
impl RefUnwindSafe for SeparatorBuilder
impl Send for SeparatorBuilder
impl Sync for SeparatorBuilder
impl Unpin for SeparatorBuilder
impl UnwindSafe for SeparatorBuilder
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