Struct cli_table::format::SeparatorBuilder
source · [−]pub struct SeparatorBuilder(_);
Expand description
Builder for separator
Implementations
sourceimpl 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 RefUnwindSafe for SeparatorBuilder
impl Send for SeparatorBuilder
impl Sync for SeparatorBuilder
impl Unpin for SeparatorBuilder
impl UnwindSafe for SeparatorBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more