wiwi::num

Trait IntSigned

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

Required Associated Types§

Required Methods§

Source

fn cast_unsigned(self) -> Self::Unsigned

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 IntSigned for i8

Source§

impl IntSigned for i16

Source§

impl IntSigned for i32

Source§

impl IntSigned for i64

Source§

impl IntSigned for i128

Source§

impl IntSigned for isize

Implementors§