pub trait WithUnsigned {
    type Unsigned;
    fn to_unsigned(self) -> Self::Unsigned;
}
Expand description

Represents a number type with corresponding unsigned version

Unsigned number can implement this trait as well, with type Unsigned = Self.

Associated Types

Required methods

Implementations on Foreign Types

Implementors