Trait beagle::consts::IsSmallerThan
[−]
[src]
pub trait IsSmallerThan<C: IsLargerThan<Self> + NotSame<Self>>: NotSame<C> { fn index_array<T>(a0: &C::Type) -> &T
where
C: Array<T>; }
A trait to indicate that a constant has a lower value than C
Required Methods
fn index_array<T>(a0: &C::Type) -> &T where
C: Array<T>,
C: Array<T>,
Index an array of size C
safely.
Implementors
impl IsSmallerThan<One> for Zero
impl IsSmallerThan<Two> for Zero
impl IsSmallerThan<Three> for Zero
impl IsSmallerThan<Four> for Zero
impl IsSmallerThan<Two> for One
impl IsSmallerThan<Three> for One
impl IsSmallerThan<Four> for One
impl IsSmallerThan<Three> for Two
impl IsSmallerThan<Four> for Two
impl IsSmallerThan<Four> for Three