pub enum TableCellContent<'src> {
Simple(Content<'src>),
AsciiDoc(AsciiDocCell<'src>),
}Expand description
Variants§
Simple(Content<'src>)
Inline content: the cell’s text after its substitutions (normal for most
styles, verbatim for Literal) have been
applied.
AsciiDoc(AsciiDocCell<'src>)
Block content: the cell’s text parsed as a nested, standalone AsciiDoc
document. Produced by the AsciiDoc style.
Trait Implementations§
Source§impl<'src> Clone for TableCellContent<'src>
impl<'src> Clone for TableCellContent<'src>
Source§fn clone(&self) -> TableCellContent<'src>
fn clone(&self) -> TableCellContent<'src>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'src> Debug for TableCellContent<'src>
impl<'src> Debug for TableCellContent<'src>
impl<'src> Eq for TableCellContent<'src>
Source§impl<'src> PartialEq for TableCellContent<'src>
impl<'src> PartialEq for TableCellContent<'src>
Source§fn eq(&self, other: &TableCellContent<'src>) -> bool
fn eq(&self, other: &TableCellContent<'src>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'src> StructuralPartialEq for TableCellContent<'src>
Auto Trait Implementations§
impl<'src> Freeze for TableCellContent<'src>
impl<'src> RefUnwindSafe for TableCellContent<'src>
impl<'src> Send for TableCellContent<'src>
impl<'src> Sync for TableCellContent<'src>
impl<'src> Unpin for TableCellContent<'src>
impl<'src> UnsafeUnpin for TableCellContent<'src>
impl<'src> UnwindSafe for TableCellContent<'src>
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