wiwi::num

Trait IntUnsigned

Source
pub trait IntUnsigned
where Self: Sealed, Self::Signed: IntSigned<Unsigned = Self>,
{ type Signed; // Required method fn cast_signed(self) -> Self::Signed; }

Required Associated Types§

Required Methods§

Source

fn cast_signed(self) -> Self::Signed

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.

Implementations on Foreign Types§

Source§

impl IntUnsigned for u8

Source§

impl IntUnsigned for u16

Source§

impl IntUnsigned for u32

Source§

impl IntUnsigned for u64

Source§

impl IntUnsigned for u128

Source§

impl IntUnsigned for usize

Implementors§