Enum comrak::nodes::TableAlignment
source · pub enum TableAlignment {
None,
Left,
Center,
Right,
}
Expand description
Alignment of a single table cell.
Variants§
None
Cell content is unaligned.
Left
Cell content is aligned left.
Center
Cell content is centered.
Right
Cell content is aligned right.
Trait Implementations§
source§impl Clone for TableAlignment
impl Clone for TableAlignment
source§fn clone(&self) -> TableAlignment
fn clone(&self) -> TableAlignment
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 TableAlignment
impl Debug for TableAlignment
source§impl PartialEq for TableAlignment
impl PartialEq for TableAlignment
source§fn eq(&self, other: &TableAlignment) -> bool
fn eq(&self, other: &TableAlignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TableAlignment
impl Eq for TableAlignment
impl StructuralEq for TableAlignment
impl StructuralPartialEq for TableAlignment
Auto Trait Implementations§
impl RefUnwindSafe for TableAlignment
impl Send for TableAlignment
impl Sync for TableAlignment
impl Unpin for TableAlignment
impl UnwindSafe for TableAlignment
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