pub struct Table<'m> { /* private fields */ }Expand description
A borrowed IfcTable, its resolved rows and columns, and every
defect found on the way.
Implementations§
Source§impl<'m> Table<'m>
impl<'m> Table<'m>
Sourcepub fn rows(&self) -> &[TableRow<'m>]
pub fn rows(&self) -> &[TableRow<'m>]
Rows in Rows order that resolved to an IfcTableRow.
A member that did not resolve is absent here and reported in
Self::issues.
Sourcepub fn columns(&self) -> &[TableColumn<'m>]
pub fn columns(&self) -> &[TableColumn<'m>]
Columns in Columns order that resolved to an IfcTableColumn.
Sourcepub fn heading(&self) -> Option<&TableRow<'m>>
pub fn heading(&self) -> Option<&TableRow<'m>>
The row whose IsHeading is TRUE, when exactly one is.
Sourcepub fn data_rows(&self) -> impl Iterator<Item = &TableRow<'m>>
pub fn data_rows(&self) -> impl Iterator<Item = &TableRow<'m>>
Rows that are not headings, in order.
Sourcepub fn issues(&self) -> &[TabularIssue]
pub fn issues(&self) -> &[TabularIssue]
Every defect found: malformed slots, dangling or mistyped references, WR1 and WR2.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Table<'m>
impl<'m> RefUnwindSafe for Table<'m>
impl<'m> Send for Table<'m>
impl<'m> Sync for Table<'m>
impl<'m> Unpin for Table<'m>
impl<'m> UnsafeUnpin for Table<'m>
impl<'m> UnwindSafe for Table<'m>
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