pub struct DataStream<M, D>{
pub meta: Vec<Channel>,
pub frames: Vec<DataFrame<M, D>>,
}
Fields§
§meta: Vec<Channel>
§frames: Vec<DataFrame<M, D>>
Implementations§
Source§impl<M, D> DataStream<M, D>
impl<M, D> DataStream<M, D>
Sourcepub fn new(meta: Vec<Channel>, frames: Vec<DataFrame<M, D>>) -> Self
pub fn new(meta: Vec<Channel>, frames: Vec<DataFrame<M, D>>) -> Self
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§
Source§impl<M, D> Clone for DataStream<M, D>
impl<M, D> Clone for DataStream<M, D>
Source§fn clone(&self) -> DataStream<M, D>
fn clone(&self) -> DataStream<M, D>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<M, D> Freeze for DataStream<M, D>
impl<M, D> RefUnwindSafe for DataStream<M, D>where
M: RefUnwindSafe,
D: RefUnwindSafe,
impl<M, D> Send for DataStream<M, D>
impl<M, D> Sync for DataStream<M, D>
impl<M, D> Unpin for DataStream<M, D>
impl<M, D> UnwindSafe for DataStream<M, D>where
M: UnwindSafe,
D: UnwindSafe,
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