pub struct TableDesc { /* private fields */ }
Expand description
A table description.
Implementations§
source§impl TableDesc
impl TableDesc
sourcepub fn table_count(&self) -> usize
pub fn table_count(&self) -> usize
Get the table count.
sourcepub fn push_table(&mut self, child: TableDesc)
pub fn push_table(&mut self, child: TableDesc)
Push a child table.
sourcepub fn chunk_count(&self) -> usize
pub fn chunk_count(&self) -> usize
Get the chunk count.
sourcepub fn push_chunk(&mut self, chunk: ChunkDesc)
pub fn push_chunk(&mut self, chunk: ChunkDesc)
Push a chunk onto the table.
sourcepub fn flatten_tables(self) -> Result<Flattened>
pub fn flatten_tables(self) -> Result<Flattened>
Flatten the table hierarchy.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TableDesc
impl !Send for TableDesc
impl !Sync for TableDesc
impl Unpin for TableDesc
impl !UnwindSafe for TableDesc
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