Struct cli_table::format::SeparatorBuilder [−][src]
Builder for separator
Implementations
impl SeparatorBuilder
[src]
pub fn column(self, column: Option<VerticalLine>) -> Self
[src]
Set column separators of a table
pub fn row(self, row: Option<HorizontalLine>) -> Self
[src]
Set column separators of a table
pub fn title(self, title: Option<HorizontalLine>) -> Self
[src]
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.
pub fn build(self) -> Separator
[src]
Build 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,