pub struct TableDesc<'a> { /* private fields */ }
Expand description
Description of a table.
Implementations§
Source§impl<'a> TableDesc<'a>
impl<'a> TableDesc<'a>
Sourcepub fn new(
identifier: Identifier,
metadata: Option<DataSource<'a>>,
chunks: Vec<ChunkDesc<'a>>,
children: Vec<TableDesc<'a>>,
) -> Self
pub fn new( identifier: Identifier, metadata: Option<DataSource<'a>>, chunks: Vec<ChunkDesc<'a>>, children: Vec<TableDesc<'a>>, ) -> Self
Create a new table description.
Sourcepub fn flatten(
self,
has_sibling: bool,
tables: &mut TableArray,
chunks: &mut ChunkArray,
data: &mut DataArray<'a>,
)
pub fn flatten( self, has_sibling: bool, tables: &mut TableArray, chunks: &mut ChunkArray, data: &mut DataArray<'a>, )
Flatten the description into separate portions of tables, chunks and the data blob.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TableDesc<'a>
impl<'a> RefUnwindSafe for TableDesc<'a>
impl<'a> Send for TableDesc<'a>
impl<'a> Sync for TableDesc<'a>
impl<'a> Unpin for TableDesc<'a>
impl<'a> UnwindSafe for TableDesc<'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