pub struct Column { /* private fields */ }Implementations§
Source§impl Column
impl Column
pub fn new<S: Into<String>>(content: S) -> Self
pub fn left_justified<S: Into<String>>(content: S) -> Self
pub fn right_justified<S: Into<String>>(content: S) -> Self
pub fn centered<S: Into<String>>(content: S) -> Self
pub fn fill(fill_char: char, width: usize) -> Self
pub fn with_justification(self, justification: ColumnJustification) -> Self
pub fn with_width(self, width: usize) -> Self
pub fn row_separator(&self) -> Self
Trait Implementations§
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
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