[−][src]Trait int_conv::sign::Signed
Types with signed and unsigned variants
Note that references don't currently implement this trait due to
lack of GAT
s, which are required to specify that a &'a u8
may
be cast to a &'a i8
with the same lifetime.
Associated Types
Loading content...Required methods
fn as_unsigned(self) -> Self::Unsigned
Reinterprets this value as unsigned
fn as_signed(self) -> Self::Signed
Reinterprets this value as signed
fn abs_unsigned(self) -> Self::Unsigned
Returns the absolute value of self
as unsigned.