Trait musli_binary_common::int::Signed
source · [−]pub trait Signed: Sized + Copy + Neg<Output = Self> + Shr<u32, Output = Self> + Shl<u32, Output = Self> + BitXor<Self, Output = Self> {
type Unsigned: Unsigned;
const BITS: u32;
fn unsigned(self) -> Self::Unsigned;
}
Expand description
Trait that encodes common behaviors of signed numbers.