Trait ndarray::RawDataSubst[][src]

pub trait RawDataSubst<A>: RawData {
    type Output: RawData<Elem = A>;
}

Array representation trait.

The RawDataSubst trait maps the element type of array storage, while keeping the same kind of storage.

For example, RawDataSubst<B> can map the type OwnedRepr<A> to OwnedRepr<B>.

Associated Types

type Output: RawData<Elem = A>[src]

The resulting array storage of the same kind but substituted element type

Loading content...

Implementors

impl<'a, A: 'a, B: 'a> RawDataSubst<B> for ViewRepr<&'a A>[src]

impl<'a, A: 'a, B: 'a> RawDataSubst<B> for ViewRepr<&'a mut A>[src]

impl<A, B> RawDataSubst<B> for OwnedArcRepr<A>[src]

impl<A, B> RawDataSubst<B> for OwnedRepr<A>[src]

type Output = OwnedRepr<B>

impl<A, B> RawDataSubst<B> for RawViewRepr<*const A>[src]

impl<A, B> RawDataSubst<B> for RawViewRepr<*mut A>[src]

Loading content...