```
pub trait SameDimension<D1, D2>: SameNumberOfRows<D1, D2> + SameNumberOfColumns<D1, D2>{
type Representative: Dim;
}
```

## Expand description

Constrains D1 and D2 to be equivalent, where they both designate dimensions of algebraic entities (e.g. square matrices).

## Required Associated Types§

Source#### type Representative: Dim

#### type Representative: Dim

This is either equal to `D1`

or `D2`

, always choosing the one (if any) which is a type-level
constant.

## Dyn Compatibility§

This trait is **not** dyn compatible.

*In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.*