[−][src]Trait trait_eval::LessThan
Integer comparison
I honestly can't be bothered to implement <=
, >=
and >
, so you're just going to have to make
do with this and Not
.
assert_eq!(<Three as LessThan<Five>>::Result::eval(), true); assert_eq!(<Five as LessThan<Five>>::Result::eval(), false); assert_eq!(<Ten as LessThan<Five>>::Result::eval(), false);
Associated Types
Loading content...Implementors
impl LessThan<Zero> for Zero
[src]
impl<T: Nat> LessThan<Succ<T>> for Zero
[src]
impl<T: Nat> LessThan<Zero> for Succ<T>
[src]
impl<T: Nat, U: Nat> LessThan<Succ<T>> for Succ<U> where
U: LessThan<T>,
[src]
U: LessThan<T>,