pub struct TableRow<'a> {
pub cells: Vec<Composite<'a>>,
}
Fields§
§cells: Vec<Composite<'a>>
Implementations§
source§impl<'a> TableRow<'a>
impl<'a> TableRow<'a>
sourcepub fn as_table_alignments(&self) -> Option<TableRule>
pub fn as_table_alignments(&self) -> Option<TableRule>
Try to read the cells as formatting cells
(i.e. like |:-:|-:|:-----|
Implementation note:
it could me more efficiently be tested during initial
reading but I don’t really want to duplicate the code
of line_parser::parse_compounds until everything is
stabilized. If it proves necessary I’ll do a
line_parser::parse_cell (and parse_compound won’t take
a bool paramater anymore).
Trait Implementations§
source§impl<'a> PartialEq<TableRow<'a>> for TableRow<'a>
impl<'a> PartialEq<TableRow<'a>> for TableRow<'a>
impl<'a> Eq for TableRow<'a>
impl<'a> StructuralEq for TableRow<'a>
impl<'a> StructuralPartialEq for TableRow<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TableRow<'a>
impl<'a> Send for TableRow<'a>
impl<'a> Sync for TableRow<'a>
impl<'a> Unpin for TableRow<'a>
impl<'a> UnwindSafe for TableRow<'a>
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