[][src]Struct assembly_data::fdb::core::Table

pub struct Table { /* fields omitted */ }

A list of buckets and thus collection of rows with a name

Implementations

impl Table[src]

pub fn from(definition: TableDef, data: TableData) -> Self[src]

Creates a new table from a definition and data struct

pub fn new(definition: TableDef) -> Self[src]

Creates a new table without data

pub fn into_buckets(self) -> Vec<Bucket>[src]

Extract the buckets vector

pub fn buckets(&self) -> &[Bucket][src]

Returns a reference to the slice of buckets

pub fn buckets_mut(&mut self) -> &mut Vec<Bucket>[src]

Returns a mutable reference to the vector of buckets

pub fn into_columns(self) -> Vec<Column>[src]

Extract the columns vector

pub fn columns(&self) -> &[Column][src]

Returns a reference to the slice of columns

pub fn columns_mut(&mut self) -> &mut Vec<Column>[src]

Returns a mutable reference to the vector of columns

pub fn name(&self) -> &str[src]

Returns the name of the table

Trait Implementations

impl Debug for Table[src]

impl IntoIterator for Table[src]

type Item = Row

The type of the elements being iterated over.

type IntoIter = TableRowIter

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a Table[src]

type Item = &'a Row

The type of the elements being iterated over.

type IntoIter = TableRowRefIter<'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.