Trait na::base::allocator::SameShapeAllocator [−][src]
pub trait SameShapeAllocator<N, R1, C1, R2, C2>: Allocator<N, R1, C1> + Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative> where
N: Scalar,
R1: Dim,
C1: Dim,
R2: Dim,
C2: Dim,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>, { }
Restricts the given number of rows and columns to be respectively the same.
Implementors
impl<N, R1, R2, C1, C2> SameShapeAllocator<N, R1, C1, R2, C2> for DefaultAllocator where
N: Scalar,
R1: Dim,
C1: Dim,
R2: Dim,
C2: Dim,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,
[src]
N: Scalar,
R1: Dim,
C1: Dim,
R2: Dim,
C2: Dim,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
ShapeConstraint: SameNumberOfColumns<C1, C2>,