Trait type_level_logic::strong::ternary::NatSub []

pub trait NatSub<B: Nat>: Nat {
    type Output: Nat;
}

Nat subtraction. Used as Sub<X, Y> or <X as NatSub<Y>>::Output. Undefined for any inputs which would result in an output less than zero. If you need signed numbers, you should probably be using a signed representation, such as balanced ternary.

Associated Types

Implementors