Trait ndarray::DataOwned [] [src]

pub unsafe trait DataOwned: Data {
    fn new(elements: Vec<Self::Elem>) -> Self;
    fn into_shared(self) -> Rc<Vec<Self::Elem>>;
}

Array representation that is a unique or shared owner of its data.

Required Methods

fn new(elements: Vec<Self::Elem>) -> Self

fn into_shared(self) -> Rc<Vec<Self::Elem>>

Implementors