Enum comfy_table::CellAlignment
source · pub enum CellAlignment {
Left,
Right,
Center,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for CellAlignment
impl Clone for CellAlignment
source§fn clone(&self) -> CellAlignment
fn clone(&self) -> CellAlignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CellAlignment
impl Debug for CellAlignment
source§impl Hash for CellAlignment
impl Hash for CellAlignment
source§impl PartialEq for CellAlignment
impl PartialEq for CellAlignment
source§fn eq(&self, other: &CellAlignment) -> bool
fn eq(&self, other: &CellAlignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CellAlignment
impl Eq for CellAlignment
impl StructuralPartialEq for CellAlignment
Auto Trait Implementations§
impl Freeze for CellAlignment
impl RefUnwindSafe for CellAlignment
impl Send for CellAlignment
impl Sync for CellAlignment
impl Unpin for CellAlignment
impl UnwindSafe for CellAlignment
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