pub enum AlignKind {
Left,
Right,
Center,
None,
}
Expand description
GFM: alignment of phrasing content.
Used to align the contents of table cells within a table.
Variants§
Left
Left alignment.
See the left
value of the text-align
CSS property.
| | aaa |
> | | :-- |
^^^
Right
Right alignment.
See the right
value of the text-align
CSS property.
| | aaa |
> | | --: |
^^^
Center
Center alignment.
See the center
value of the text-align
CSS property.
| | aaa |
> | | :-: |
^^^
None
No alignment.
Phrasing content is aligned as defined by the host environment.
| | aaa |
> | | --- |
^^^
Trait Implementations§
source§impl PartialEq for AlignKind
impl PartialEq for AlignKind
impl Copy for AlignKind
impl Eq for AlignKind
impl StructuralEq for AlignKind
impl StructuralPartialEq for AlignKind
Auto Trait Implementations§
impl RefUnwindSafe for AlignKind
impl Send for AlignKind
impl Sync for AlignKind
impl Unpin for AlignKind
impl UnwindSafe for AlignKind
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