pub struct TabularView<'m> { /* private fields */ }Expand description
Borrowed entry point for reading tables and time series.
Implementations§
Source§impl<'m> TabularView<'m>
impl<'m> TabularView<'m>
Sourcepub fn new(model: &'m Model, schema: &'m Schema) -> TabularReadResult<Self>
pub fn new(model: &'m Model, schema: &'m Schema) -> TabularReadResult<Self>
Sourcepub fn series_ids(self) -> Vec<EntityId>
pub fn series_ids(self) -> Vec<EntityId>
Ids of every regular, then every irregular, time series.
Sourcepub fn table(self, id: EntityId) -> TabularReadResult<Table<'m>>
pub fn table(self, id: EntityId) -> TabularReadResult<Table<'m>>
Read the IfcTable at id.
§Errors
Refuses an absent id and a record of another type. Defects inside
the table are not errors; they are in Table::issues.
Sourcepub fn time_series(self, id: EntityId) -> TabularReadResult<TimeSeries<'m>>
pub fn time_series(self, id: EntityId) -> TabularReadResult<TimeSeries<'m>>
Read the regular or irregular time series at id.
§Errors
Refuses an absent id and a record that is neither subtype. Defects
inside the series are in TimeSeries::issues.
Trait Implementations§
Source§impl<'m> Clone for TabularView<'m>
impl<'m> Clone for TabularView<'m>
impl<'m> Copy for TabularView<'m>
Auto Trait Implementations§
impl<'m> !RefUnwindSafe for TabularView<'m>
impl<'m> !UnwindSafe for TabularView<'m>
impl<'m> Freeze for TabularView<'m>
impl<'m> Send for TabularView<'m>
impl<'m> Sync for TabularView<'m>
impl<'m> Unpin for TabularView<'m>
impl<'m> UnsafeUnpin for TabularView<'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