Trait nalgebra::core::constraint::SameNumberOfColumns
[−]
[src]
pub trait SameNumberOfColumns<D1: Dim, D2: Dim>: DimEq<D1, D2> + DimEq<D2, D1> {
type Representative: Dim;
}Constraints D1 and D2 to be equivalent. They are both assumed to be the number of columns of a matrix.
Associated Types
type Representative: Dim
This is either equal to D1 or D2, always choosing the one (if any) which is a type-level
constant.
Implementors
impl<D: Dim> SameNumberOfColumns<D, D> for ShapeConstraint type Representative = D;impl<D: DimName> SameNumberOfColumns<D, Dynamic> for ShapeConstraint type Representative = D;impl<D: DimName> SameNumberOfColumns<Dynamic, D> for ShapeConstraint type Representative = D;