Trait bevy_rapier2d::prelude::nalgebra::base::allocator::SameShapeVectorAllocator [−][src]
pub trait SameShapeVectorAllocator<T, R1, R2>: Allocator<T, R1, Const<1_usize>> + Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, Const<1_usize>> + SameShapeAllocator<T, R1, Const<1_usize>, R2, Const<1_usize>> where
T: Scalar,
R1: Dim,
R2: Dim,
ShapeConstraint: SameNumberOfRows<R1, R2>, { }
Expand description
Restricts the given number of rows to be equal.
Implementors
impl<T, R1, R2> SameShapeVectorAllocator<T, R1, R2> for DefaultAllocator where
T: Scalar,
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<T, R1, Const<1_usize>>,
DefaultAllocator: Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, Const<1_usize>>,
ShapeConstraint: SameNumberOfRows<R1, R2>,
[src]