pub enum Row {
Cells(Vec<String>),
Separator {
join: char,
aligns: Vec<Align>,
},
}Expand description
One line of a table, parsed.
Variants§
Cells(Vec<String>)
| a | b | — the trimmed cell texts.
Separator
A rule between sections, and how it was written: the character
that joins its columns (| in markdown, + in org) and its
per-column alignment markers. Both are kept so re-rendering reproduces
the dialect it found rather than imposing one.
Trait Implementations§
impl Eq for Row
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.