Trait UAddSub

Source
trait UAddSub: DInt + Int {
    // Provided methods
    fn uadd(self, other: Self) -> Self { ... }
    fn uadd_one(self) -> Self { ... }
    fn usub(self, other: Self) -> Self { ... }
}

Provided Methods§

Source

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

Source

fn uadd_one(self) -> Self

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§