SameShapeVectorAllocator in nalgebra::base::allocator - Rust
Description: Restricts the given number of rows to be equal.
Keywords: rust, rustlang, rust-lang, SameShapeVectorAllocator

# Trait nalgebra::base::allocator::SameShapeVectorAllocator

source ·

    pub trait SameShapeVectorAllocator<T, R1, R2>: Allocator<T, R1> + Allocator<T, SameShapeR<R1, R2>> + SameShapeAllocator<T, R1, U1, R2, U1>where
        R1: Dim,
        R2: Dim,
        ShapeConstraint: SameNumberOfRows<R1, R2>,{ }

Expand description

Restricts the given number of rows to be equal.

## Implementors§

source§

### impl<T, R1, R2> SameShapeVectorAllocator<T, R1, R2> for DefaultAllocator where
R1: Dim,
R2: Dim,
DefaultAllocator: Allocator<T, R1, U1> + Allocator<T, SameShapeR<R1, R2>>,
ShapeConstraint: SameNumberOfRows<R1, R2>,