Useful type aliases

This commit is contained in:
Dzuchun 2024-11-16 13:04:54 +02:00
commit e632e7de20

View file

@ -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;