Trait type_level_logic::strong::ternary::NatPred []

pub trait NatPred: Nat {
    type Output: Nat;
}

The Pred operator subtracts one from a Nat. It is defined for non-zero Nats, and can be used as Pred<X> or <X as NatPred>::Output.

Associated Types

Implementors