Useful type aliases
This commit is contained in:
parent
ac7c2f213b
commit
e632e7de20
1 changed files with 4 additions and 0 deletions
|
|
@ -1,2 +1,6 @@
|
|||
#![doc = include_str!("../README.md")]
|
||||
#![no_std] // <-- yeah, in case you wondered - there you are, feel free to use it
|
||||
|
||||
type TNum<const N: usize> = typenum::Const<N>;
|
||||
type AlgNum<const N: usize> = nalgebra::Const<N>;
|
||||
type ArrLen<const N: usize> = <TNum<N> as generic_array::IntoArrayLength>::ArrayLength;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue