pub struct RdTabular<'a> { /* private fields */ }Expand description
A borrowed, structurally valid \\tabular view.
The colspec path is path().with_child(0). Cell paths are anchored to the
body Group: a non-empty cell uses the body child index of its first node,
while an empty cell uses the index of the separator that closed it. A row
uses the path of its first cell; an entirely empty row uses the separator
that opened its row region. Colspec characters accept only l, c, and
r; whitespace and every other character are reported and skipped.
Implementations§
Source§impl<'a> RdTabular<'a>
impl<'a> RdTabular<'a>
pub fn path(&self) -> &RdPath
pub fn columns(&self) -> &[RdColumnAlign]
pub fn rows(&self) -> &[RdTableRow<'a>]
pub fn diagnostics(&self) -> &[RdShapeError]
Trait Implementations§
impl<'a> StructuralPartialEq for RdTabular<'a>
Auto Trait Implementations§
impl<'a> Freeze for RdTabular<'a>
impl<'a> RefUnwindSafe for RdTabular<'a>
impl<'a> Send for RdTabular<'a>
impl<'a> Sync for RdTabular<'a>
impl<'a> Unpin for RdTabular<'a>
impl<'a> UnsafeUnpin for RdTabular<'a>
impl<'a> UnwindSafe for RdTabular<'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