Trait ndarray::IntoNdProducer
[−]
[src]
pub trait IntoNdProducer {
type Dim: Dimension;
type Output: NdProducer<Dim=Self::Dim>;
fn into_producer(self) -> Self::Output;
}Argument conversion into a producer.
Slices and vectors can be used (equivalent to 1-dimensional array views).
Associated Types
type Dim: Dimension
type Output: NdProducer<Dim=Self::Dim>
Required Methods
fn into_producer(self) -> Self::Output
Implementors
impl<P> IntoNdProducer for P where P: NdProducerimpl<'a, A: 'a, S, D> IntoNdProducer for &'a ArrayBase<S, D> where D: Dimension,
S: Data<Elem=A>impl<'a, A: 'a, S, D> IntoNdProducer for &'a mut ArrayBase<S, D> where D: Dimension,
S: DataMut<Elem=A>impl<'a, A: 'a> IntoNdProducer for &'a [A]impl<'a, A: 'a> IntoNdProducer for &'a mut [A]impl<'a, A: 'a> IntoNdProducer for &'a Vec<A>impl<'a, A: 'a> IntoNdProducer for &'a mut Vec<A>