pub trait TypeEquals<T> {
// Required method
fn to_type(self) -> T;
}
Expand description
This was stolen from the type_equals
crate and then
extended as described in my article on const generic matrices.
It is used in the type signature for Index
and IndexMut
as generated by the Keyable
macro.