Struct assembly_fdb::core::Table
source · pub struct Table { /* private fields */ }
Expand description
A list of buckets and thus collection of rows with a name
Implementations§
source§impl Table
impl Table
sourcepub fn from(definition: TableDef, data: TableData) -> Self
pub fn from(definition: TableDef, data: TableData) -> Self
Creates a new table from a definition and data struct
sourcepub fn into_buckets(self) -> Vec<Bucket>
pub fn into_buckets(self) -> Vec<Bucket>
Extract the buckets vector
sourcepub fn buckets_mut(&mut self) -> &mut Vec<Bucket>
pub fn buckets_mut(&mut self) -> &mut Vec<Bucket>
Returns a mutable reference to the vector of buckets
sourcepub fn into_columns(self) -> Vec<Column>
pub fn into_columns(self) -> Vec<Column>
Extract the columns vector
sourcepub fn columns_mut(&mut self) -> &mut Vec<Column>
pub fn columns_mut(&mut self) -> &mut Vec<Column>
Returns a mutable reference to the vector of columns
Trait Implementations§
source§impl<'a> IntoIterator for &'a Table
impl<'a> IntoIterator for &'a Table
source§impl IntoIterator for Table
impl IntoIterator for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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