ToUnsigned

Trait ToUnsigned 

Source
pub trait ToUnsigned {
    type Output;

    // Required method
    fn to_unsigned(self) -> Self::Output;
}
Expand description

Converts this value to the unsigned version using the as cast operation.

Required Associated Types§

Required Methods§

Source

fn to_unsigned(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl ToUnsigned for i8

Source§

impl ToUnsigned for i16

Source§

impl ToUnsigned for i32

Source§

impl ToUnsigned for i64

Source§

impl ToUnsigned for i128

Source§

impl ToUnsigned for u8

Source§

impl ToUnsigned for u16

Source§

impl ToUnsigned for u32

Source§

impl ToUnsigned for u64

Source§

impl ToUnsigned for u128

Implementors§