Struct dataflow::DataStream[][src]

pub struct DataStream<M, D> where
    M: Display,
    D: Display + Copy
{ pub meta: Vec<Channel>, pub frames: Vec<DataFrame<M, D>>, }

Fields

meta: Vec<Channel>frames: Vec<DataFrame<M, D>>

Implementations

impl<M, D> DataStream<M, D> where
    M: Display,
    D: Display + Copy
[src]

pub fn new(meta: Vec<Channel>, frames: Vec<DataFrame<M, D>>) -> Self[src]

Creates a [DataTable] with optional data [data].

  • ‘meta’ - contains row names

The first row in [data] contains the column names. The data type of each column is determined by the first non-null value in that column.

All values in each column are expected to be of the same type, and all rows are expected to have the same length.

Trait Implementations

impl<M: Clone, D: Clone> Clone for DataStream<M, D> where
    M: Display,
    D: Display + Copy
[src]

impl<M, D> Default for DataStream<M, D> where
    M: Display,
    D: Display + Copy
[src]

Auto Trait Implementations

impl<M, D> RefUnwindSafe for DataStream<M, D> where
    D: RefUnwindSafe,
    M: RefUnwindSafe

impl<M, D> Send for DataStream<M, D> where
    D: Send,
    M: Send

impl<M, D> Sync for DataStream<M, D> where
    D: Sync,
    M: Sync

impl<M, D> Unpin for DataStream<M, D> where
    D: Unpin,
    M: Unpin

impl<M, D> UnwindSafe for DataStream<M, D> where
    D: UnwindSafe,
    M: UnwindSafe

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.