[][src]Trait agnes::view::ViewMerge

pub trait ViewMerge<Other> {
    type Output;
    fn merge(&self, right: &Other) -> Result<Self::Output>;
}

Trait for merging the data from two DataViews into one new DataView. The two DataViews should have the same number of rows, and the resultant DataView is one with all the fields of both of the two original DataViews.

This trait does not consume the source DataViews: the resultant DataView should contain new references to the original field data.

Associated Types

type Output

Resultant DataView type.

Loading content...

Required methods

fn merge(&self, right: &Other) -> Result<Self::Output>

Merge this DataView with another DataView. Can fail if the DataViews do not have the same number of rows.

Loading content...

Implementors

impl<Labels, Frames, RLabels, RFrames> ViewMerge<DataView<RLabels, RFrames>> for DataView<Labels, Frames> where
    Self: Merge<RLabels, RFrames>,
    RFrames: NRows,
    Frames: NRows,
    Self::OutLabels: IsLabelSet<IsSet = True>, 
[src]

type Output = DataView<Self::OutLabels, Self::OutFrames>

Loading content...