trait AddSub: Intwhere
    <Self as Int>::UnsignedInt: UAddSub,{
    // Provided methods
    fn add(self, other: Self) -> Self { ... }
    fn sub(self, other: Self) -> Self { ... }
}

Provided Methods§

source

fn add(self, other: Self) -> Self

source

fn sub(self, other: Self) -> Self

Implementations on Foreign Types§

source§

impl AddSub for i128

source§

impl AddSub for u128

Implementors§