Struct core::num::Wrapping [] [src]

pub struct Wrapping<T>(pub T);
1.0.0

Provides intentionally-wrapped arithmetic on T.

Operations like + on u32 values is intended to never overflow, and in some debug configurations overflow is detected and results in a panic. While most arithmetic falls into this category, some code explicitly expects and relies upon modular arithmetic (e.g., hashing).

Wrapping arithmetic can be achieved either through methods like wrapping_add, or through the Wrapping<T> type, which says that all standard arithmetic operations on the underlying value are intended to have wrapping semantics.

Trait Implementations

impl Shl<usize> for Wrapping<u8>

type Output = Wrapping<u8>

fn shl(self, other: usize) -> Wrapping<u8>

impl ShlAssign<usize> for Wrapping<u8>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<u8>

type Output = Wrapping<u8>

fn shr(self, other: usize) -> Wrapping<u8>

impl ShrAssign<usize> for Wrapping<u8>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<u16>

type Output = Wrapping<u16>

fn shl(self, other: usize) -> Wrapping<u16>

impl ShlAssign<usize> for Wrapping<u16>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<u16>

type Output = Wrapping<u16>

fn shr(self, other: usize) -> Wrapping<u16>

impl ShrAssign<usize> for Wrapping<u16>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<u32>

type Output = Wrapping<u32>

fn shl(self, other: usize) -> Wrapping<u32>

impl ShlAssign<usize> for Wrapping<u32>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<u32>

type Output = Wrapping<u32>

fn shr(self, other: usize) -> Wrapping<u32>

impl ShrAssign<usize> for Wrapping<u32>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<u64>

type Output = Wrapping<u64>

fn shl(self, other: usize) -> Wrapping<u64>

impl ShlAssign<usize> for Wrapping<u64>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<u64>

type Output = Wrapping<u64>

fn shr(self, other: usize) -> Wrapping<u64>

impl ShrAssign<usize> for Wrapping<u64>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<usize>

type Output = Wrapping<usize>

fn shl(self, other: usize) -> Wrapping<usize>

impl ShlAssign<usize> for Wrapping<usize>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<usize>

type Output = Wrapping<usize>

fn shr(self, other: usize) -> Wrapping<usize>

impl ShrAssign<usize> for Wrapping<usize>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<i8>

type Output = Wrapping<i8>

fn shl(self, other: usize) -> Wrapping<i8>

impl ShlAssign<usize> for Wrapping<i8>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<i8>

type Output = Wrapping<i8>

fn shr(self, other: usize) -> Wrapping<i8>

impl ShrAssign<usize> for Wrapping<i8>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<i16>

type Output = Wrapping<i16>

fn shl(self, other: usize) -> Wrapping<i16>

impl ShlAssign<usize> for Wrapping<i16>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<i16>

type Output = Wrapping<i16>

fn shr(self, other: usize) -> Wrapping<i16>

impl ShrAssign<usize> for Wrapping<i16>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<i32>

type Output = Wrapping<i32>

fn shl(self, other: usize) -> Wrapping<i32>

impl ShlAssign<usize> for Wrapping<i32>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<i32>

type Output = Wrapping<i32>

fn shr(self, other: usize) -> Wrapping<i32>

impl ShrAssign<usize> for Wrapping<i32>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<i64>

type Output = Wrapping<i64>

fn shl(self, other: usize) -> Wrapping<i64>

impl ShlAssign<usize> for Wrapping<i64>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<i64>

type Output = Wrapping<i64>

fn shr(self, other: usize) -> Wrapping<i64>

impl ShrAssign<usize> for Wrapping<i64>1.7.0

fn shr_assign(&mut self, other: usize)

impl Shl<usize> for Wrapping<isize>

type Output = Wrapping<isize>

fn shl(self, other: usize) -> Wrapping<isize>

impl ShlAssign<usize> for Wrapping<isize>1.7.0

fn shl_assign(&mut self, other: usize)

impl Shr<usize> for Wrapping<isize>

type Output = Wrapping<isize>

fn shr(self, other: usize) -> Wrapping<isize>

impl ShrAssign<usize> for Wrapping<isize>1.7.0

fn shr_assign(&mut self, other: usize)

impl Add for Wrapping<usize>

type Output = Wrapping<usize>

fn add(self, other: Wrapping<usize>) -> Wrapping<usize>

impl AddAssign for Wrapping<usize>1.8.0

fn add_assign(&mut self, other: Wrapping<usize>)

impl Sub for Wrapping<usize>

type Output = Wrapping<usize>

fn sub(self, other: Wrapping<usize>) -> Wrapping<usize>

impl SubAssign for Wrapping<usize>1.8.0

fn sub_assign(&mut self, other: Wrapping<usize>)

impl Mul for Wrapping<usize>

type Output = Wrapping<usize>

fn mul(self, other: Wrapping<usize>) -> Wrapping<usize>

impl MulAssign for Wrapping<usize>1.8.0

fn mul_assign(&mut self, other: Wrapping<usize>)

impl Div for Wrapping<usize>1.3.0

type Output = Wrapping<usize>

fn div(self, other: Wrapping<usize>) -> Wrapping<usize>

impl DivAssign for Wrapping<usize>1.8.0

fn div_assign(&mut self, other: Wrapping<usize>)

impl Rem for Wrapping<usize>1.7.0

type Output = Wrapping<usize>

fn rem(self, other: Wrapping<usize>) -> Wrapping<usize>

impl RemAssign for Wrapping<usize>1.8.0

fn rem_assign(&mut self, other: Wrapping<usize>)

impl Not for Wrapping<usize>

type Output = Wrapping<usize>

fn not(self) -> Wrapping<usize>

impl BitXor for Wrapping<usize>

type Output = Wrapping<usize>

fn bitxor(self, other: Wrapping<usize>) -> Wrapping<usize>

impl BitXorAssign for Wrapping<usize>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<usize>)

impl BitOr for Wrapping<usize>

type Output = Wrapping<usize>

fn bitor(self, other: Wrapping<usize>) -> Wrapping<usize>

impl BitOrAssign for Wrapping<usize>1.8.0

fn bitor_assign(&mut self, other: Wrapping<usize>)

impl BitAnd for Wrapping<usize>

type Output = Wrapping<usize>

fn bitand(self, other: Wrapping<usize>) -> Wrapping<usize>

impl BitAndAssign for Wrapping<usize>1.8.0

fn bitand_assign(&mut self, other: Wrapping<usize>)

impl Add for Wrapping<u8>

type Output = Wrapping<u8>

fn add(self, other: Wrapping<u8>) -> Wrapping<u8>

impl AddAssign for Wrapping<u8>1.8.0

fn add_assign(&mut self, other: Wrapping<u8>)

impl Sub for Wrapping<u8>

type Output = Wrapping<u8>

fn sub(self, other: Wrapping<u8>) -> Wrapping<u8>

impl SubAssign for Wrapping<u8>1.8.0

fn sub_assign(&mut self, other: Wrapping<u8>)

impl Mul for Wrapping<u8>

type Output = Wrapping<u8>

fn mul(self, other: Wrapping<u8>) -> Wrapping<u8>

impl MulAssign for Wrapping<u8>1.8.0

fn mul_assign(&mut self, other: Wrapping<u8>)

impl Div for Wrapping<u8>1.3.0

type Output = Wrapping<u8>

fn div(self, other: Wrapping<u8>) -> Wrapping<u8>

impl DivAssign for Wrapping<u8>1.8.0

fn div_assign(&mut self, other: Wrapping<u8>)

impl Rem for Wrapping<u8>1.7.0

type Output = Wrapping<u8>

fn rem(self, other: Wrapping<u8>) -> Wrapping<u8>

impl RemAssign for Wrapping<u8>1.8.0

fn rem_assign(&mut self, other: Wrapping<u8>)

impl Not for Wrapping<u8>

type Output = Wrapping<u8>

fn not(self) -> Wrapping<u8>

impl BitXor for Wrapping<u8>

type Output = Wrapping<u8>

fn bitxor(self, other: Wrapping<u8>) -> Wrapping<u8>

impl BitXorAssign for Wrapping<u8>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<u8>)

impl BitOr for Wrapping<u8>

type Output = Wrapping<u8>

fn bitor(self, other: Wrapping<u8>) -> Wrapping<u8>

impl BitOrAssign for Wrapping<u8>1.8.0

fn bitor_assign(&mut self, other: Wrapping<u8>)

impl BitAnd for Wrapping<u8>

type Output = Wrapping<u8>

fn bitand(self, other: Wrapping<u8>) -> Wrapping<u8>

impl BitAndAssign for Wrapping<u8>1.8.0

fn bitand_assign(&mut self, other: Wrapping<u8>)

impl Add for Wrapping<u16>

type Output = Wrapping<u16>

fn add(self, other: Wrapping<u16>) -> Wrapping<u16>

impl AddAssign for Wrapping<u16>1.8.0

fn add_assign(&mut self, other: Wrapping<u16>)

impl Sub for Wrapping<u16>

type Output = Wrapping<u16>

fn sub(self, other: Wrapping<u16>) -> Wrapping<u16>

impl SubAssign for Wrapping<u16>1.8.0

fn sub_assign(&mut self, other: Wrapping<u16>)

impl Mul for Wrapping<u16>

type Output = Wrapping<u16>

fn mul(self, other: Wrapping<u16>) -> Wrapping<u16>

impl MulAssign for Wrapping<u16>1.8.0

fn mul_assign(&mut self, other: Wrapping<u16>)

impl Div for Wrapping<u16>1.3.0

type Output = Wrapping<u16>

fn div(self, other: Wrapping<u16>) -> Wrapping<u16>

impl DivAssign for Wrapping<u16>1.8.0

fn div_assign(&mut self, other: Wrapping<u16>)

impl Rem for Wrapping<u16>1.7.0

type Output = Wrapping<u16>

fn rem(self, other: Wrapping<u16>) -> Wrapping<u16>

impl RemAssign for Wrapping<u16>1.8.0

fn rem_assign(&mut self, other: Wrapping<u16>)

impl Not for Wrapping<u16>

type Output = Wrapping<u16>

fn not(self) -> Wrapping<u16>

impl BitXor for Wrapping<u16>

type Output = Wrapping<u16>

fn bitxor(self, other: Wrapping<u16>) -> Wrapping<u16>

impl BitXorAssign for Wrapping<u16>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<u16>)

impl BitOr for Wrapping<u16>

type Output = Wrapping<u16>

fn bitor(self, other: Wrapping<u16>) -> Wrapping<u16>

impl BitOrAssign for Wrapping<u16>1.8.0

fn bitor_assign(&mut self, other: Wrapping<u16>)

impl BitAnd for Wrapping<u16>

type Output = Wrapping<u16>

fn bitand(self, other: Wrapping<u16>) -> Wrapping<u16>

impl BitAndAssign for Wrapping<u16>1.8.0

fn bitand_assign(&mut self, other: Wrapping<u16>)

impl Add for Wrapping<u32>

type Output = Wrapping<u32>

fn add(self, other: Wrapping<u32>) -> Wrapping<u32>

impl AddAssign for Wrapping<u32>1.8.0

fn add_assign(&mut self, other: Wrapping<u32>)

impl Sub for Wrapping<u32>

type Output = Wrapping<u32>

fn sub(self, other: Wrapping<u32>) -> Wrapping<u32>

impl SubAssign for Wrapping<u32>1.8.0

fn sub_assign(&mut self, other: Wrapping<u32>)

impl Mul for Wrapping<u32>

type Output = Wrapping<u32>

fn mul(self, other: Wrapping<u32>) -> Wrapping<u32>

impl MulAssign for Wrapping<u32>1.8.0

fn mul_assign(&mut self, other: Wrapping<u32>)

impl Div for Wrapping<u32>1.3.0

type Output = Wrapping<u32>

fn div(self, other: Wrapping<u32>) -> Wrapping<u32>

impl DivAssign for Wrapping<u32>1.8.0

fn div_assign(&mut self, other: Wrapping<u32>)

impl Rem for Wrapping<u32>1.7.0

type Output = Wrapping<u32>

fn rem(self, other: Wrapping<u32>) -> Wrapping<u32>

impl RemAssign for Wrapping<u32>1.8.0

fn rem_assign(&mut self, other: Wrapping<u32>)

impl Not for Wrapping<u32>

type Output = Wrapping<u32>

fn not(self) -> Wrapping<u32>

impl BitXor for Wrapping<u32>

type Output = Wrapping<u32>

fn bitxor(self, other: Wrapping<u32>) -> Wrapping<u32>

impl BitXorAssign for Wrapping<u32>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<u32>)

impl BitOr for Wrapping<u32>

type Output = Wrapping<u32>

fn bitor(self, other: Wrapping<u32>) -> Wrapping<u32>

impl BitOrAssign for Wrapping<u32>1.8.0

fn bitor_assign(&mut self, other: Wrapping<u32>)

impl BitAnd for Wrapping<u32>

type Output = Wrapping<u32>

fn bitand(self, other: Wrapping<u32>) -> Wrapping<u32>

impl BitAndAssign for Wrapping<u32>1.8.0

fn bitand_assign(&mut self, other: Wrapping<u32>)

impl Add for Wrapping<u64>

type Output = Wrapping<u64>

fn add(self, other: Wrapping<u64>) -> Wrapping<u64>

impl AddAssign for Wrapping<u64>1.8.0

fn add_assign(&mut self, other: Wrapping<u64>)

impl Sub for Wrapping<u64>

type Output = Wrapping<u64>

fn sub(self, other: Wrapping<u64>) -> Wrapping<u64>

impl SubAssign for Wrapping<u64>1.8.0

fn sub_assign(&mut self, other: Wrapping<u64>)

impl Mul for Wrapping<u64>

type Output = Wrapping<u64>

fn mul(self, other: Wrapping<u64>) -> Wrapping<u64>

impl MulAssign for Wrapping<u64>1.8.0

fn mul_assign(&mut self, other: Wrapping<u64>)

impl Div for Wrapping<u64>1.3.0

type Output = Wrapping<u64>

fn div(self, other: Wrapping<u64>) -> Wrapping<u64>

impl DivAssign for Wrapping<u64>1.8.0

fn div_assign(&mut self, other: Wrapping<u64>)

impl Rem for Wrapping<u64>1.7.0

type Output = Wrapping<u64>

fn rem(self, other: Wrapping<u64>) -> Wrapping<u64>

impl RemAssign for Wrapping<u64>1.8.0

fn rem_assign(&mut self, other: Wrapping<u64>)

impl Not for Wrapping<u64>

type Output = Wrapping<u64>

fn not(self) -> Wrapping<u64>

impl BitXor for Wrapping<u64>

type Output = Wrapping<u64>

fn bitxor(self, other: Wrapping<u64>) -> Wrapping<u64>

impl BitXorAssign for Wrapping<u64>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<u64>)

impl BitOr for Wrapping<u64>

type Output = Wrapping<u64>

fn bitor(self, other: Wrapping<u64>) -> Wrapping<u64>

impl BitOrAssign for Wrapping<u64>1.8.0

fn bitor_assign(&mut self, other: Wrapping<u64>)

impl BitAnd for Wrapping<u64>

type Output = Wrapping<u64>

fn bitand(self, other: Wrapping<u64>) -> Wrapping<u64>

impl BitAndAssign for Wrapping<u64>1.8.0

fn bitand_assign(&mut self, other: Wrapping<u64>)

impl Add for Wrapping<isize>

type Output = Wrapping<isize>

fn add(self, other: Wrapping<isize>) -> Wrapping<isize>

impl AddAssign for Wrapping<isize>1.8.0

fn add_assign(&mut self, other: Wrapping<isize>)

impl Sub for Wrapping<isize>

type Output = Wrapping<isize>

fn sub(self, other: Wrapping<isize>) -> Wrapping<isize>

impl SubAssign for Wrapping<isize>1.8.0

fn sub_assign(&mut self, other: Wrapping<isize>)

impl Mul for Wrapping<isize>

type Output = Wrapping<isize>

fn mul(self, other: Wrapping<isize>) -> Wrapping<isize>

impl MulAssign for Wrapping<isize>1.8.0

fn mul_assign(&mut self, other: Wrapping<isize>)

impl Div for Wrapping<isize>1.3.0

type Output = Wrapping<isize>

fn div(self, other: Wrapping<isize>) -> Wrapping<isize>

impl DivAssign for Wrapping<isize>1.8.0

fn div_assign(&mut self, other: Wrapping<isize>)

impl Rem for Wrapping<isize>1.7.0

type Output = Wrapping<isize>

fn rem(self, other: Wrapping<isize>) -> Wrapping<isize>

impl RemAssign for Wrapping<isize>1.8.0

fn rem_assign(&mut self, other: Wrapping<isize>)

impl Not for Wrapping<isize>

type Output = Wrapping<isize>

fn not(self) -> Wrapping<isize>

impl BitXor for Wrapping<isize>

type Output = Wrapping<isize>

fn bitxor(self, other: Wrapping<isize>) -> Wrapping<isize>

impl BitXorAssign for Wrapping<isize>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<isize>)

impl BitOr for Wrapping<isize>

type Output = Wrapping<isize>

fn bitor(self, other: Wrapping<isize>) -> Wrapping<isize>

impl BitOrAssign for Wrapping<isize>1.8.0

fn bitor_assign(&mut self, other: Wrapping<isize>)

impl BitAnd for Wrapping<isize>

type Output = Wrapping<isize>

fn bitand(self, other: Wrapping<isize>) -> Wrapping<isize>

impl BitAndAssign for Wrapping<isize>1.8.0

fn bitand_assign(&mut self, other: Wrapping<isize>)

impl Add for Wrapping<i8>

type Output = Wrapping<i8>

fn add(self, other: Wrapping<i8>) -> Wrapping<i8>

impl AddAssign for Wrapping<i8>1.8.0

fn add_assign(&mut self, other: Wrapping<i8>)

impl Sub for Wrapping<i8>

type Output = Wrapping<i8>

fn sub(self, other: Wrapping<i8>) -> Wrapping<i8>

impl SubAssign for Wrapping<i8>1.8.0

fn sub_assign(&mut self, other: Wrapping<i8>)

impl Mul for Wrapping<i8>

type Output = Wrapping<i8>

fn mul(self, other: Wrapping<i8>) -> Wrapping<i8>

impl MulAssign for Wrapping<i8>1.8.0

fn mul_assign(&mut self, other: Wrapping<i8>)

impl Div for Wrapping<i8>1.3.0

type Output = Wrapping<i8>

fn div(self, other: Wrapping<i8>) -> Wrapping<i8>

impl DivAssign for Wrapping<i8>1.8.0

fn div_assign(&mut self, other: Wrapping<i8>)

impl Rem for Wrapping<i8>1.7.0

type Output = Wrapping<i8>

fn rem(self, other: Wrapping<i8>) -> Wrapping<i8>

impl RemAssign for Wrapping<i8>1.8.0

fn rem_assign(&mut self, other: Wrapping<i8>)

impl Not for Wrapping<i8>

type Output = Wrapping<i8>

fn not(self) -> Wrapping<i8>

impl BitXor for Wrapping<i8>

type Output = Wrapping<i8>

fn bitxor(self, other: Wrapping<i8>) -> Wrapping<i8>

impl BitXorAssign for Wrapping<i8>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<i8>)

impl BitOr for Wrapping<i8>

type Output = Wrapping<i8>

fn bitor(self, other: Wrapping<i8>) -> Wrapping<i8>

impl BitOrAssign for Wrapping<i8>1.8.0

fn bitor_assign(&mut self, other: Wrapping<i8>)

impl BitAnd for Wrapping<i8>

type Output = Wrapping<i8>

fn bitand(self, other: Wrapping<i8>) -> Wrapping<i8>

impl BitAndAssign for Wrapping<i8>1.8.0

fn bitand_assign(&mut self, other: Wrapping<i8>)

impl Add for Wrapping<i16>

type Output = Wrapping<i16>

fn add(self, other: Wrapping<i16>) -> Wrapping<i16>

impl AddAssign for Wrapping<i16>1.8.0

fn add_assign(&mut self, other: Wrapping<i16>)

impl Sub for Wrapping<i16>

type Output = Wrapping<i16>

fn sub(self, other: Wrapping<i16>) -> Wrapping<i16>

impl SubAssign for Wrapping<i16>1.8.0

fn sub_assign(&mut self, other: Wrapping<i16>)

impl Mul for Wrapping<i16>

type Output = Wrapping<i16>

fn mul(self, other: Wrapping<i16>) -> Wrapping<i16>

impl MulAssign for Wrapping<i16>1.8.0

fn mul_assign(&mut self, other: Wrapping<i16>)

impl Div for Wrapping<i16>1.3.0

type Output = Wrapping<i16>

fn div(self, other: Wrapping<i16>) -> Wrapping<i16>

impl DivAssign for Wrapping<i16>1.8.0

fn div_assign(&mut self, other: Wrapping<i16>)

impl Rem for Wrapping<i16>1.7.0

type Output = Wrapping<i16>

fn rem(self, other: Wrapping<i16>) -> Wrapping<i16>

impl RemAssign for Wrapping<i16>1.8.0

fn rem_assign(&mut self, other: Wrapping<i16>)

impl Not for Wrapping<i16>

type Output = Wrapping<i16>

fn not(self) -> Wrapping<i16>

impl BitXor for Wrapping<i16>

type Output = Wrapping<i16>

fn bitxor(self, other: Wrapping<i16>) -> Wrapping<i16>

impl BitXorAssign for Wrapping<i16>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<i16>)

impl BitOr for Wrapping<i16>

type Output = Wrapping<i16>

fn bitor(self, other: Wrapping<i16>) -> Wrapping<i16>

impl BitOrAssign for Wrapping<i16>1.8.0

fn bitor_assign(&mut self, other: Wrapping<i16>)

impl BitAnd for Wrapping<i16>

type Output = Wrapping<i16>

fn bitand(self, other: Wrapping<i16>) -> Wrapping<i16>

impl BitAndAssign for Wrapping<i16>1.8.0

fn bitand_assign(&mut self, other: Wrapping<i16>)

impl Add for Wrapping<i32>

type Output = Wrapping<i32>

fn add(self, other: Wrapping<i32>) -> Wrapping<i32>

impl AddAssign for Wrapping<i32>1.8.0

fn add_assign(&mut self, other: Wrapping<i32>)

impl Sub for Wrapping<i32>

type Output = Wrapping<i32>

fn sub(self, other: Wrapping<i32>) -> Wrapping<i32>

impl SubAssign for Wrapping<i32>1.8.0

fn sub_assign(&mut self, other: Wrapping<i32>)

impl Mul for Wrapping<i32>

type Output = Wrapping<i32>

fn mul(self, other: Wrapping<i32>) -> Wrapping<i32>

impl MulAssign for Wrapping<i32>1.8.0

fn mul_assign(&mut self, other: Wrapping<i32>)

impl Div for Wrapping<i32>1.3.0

type Output = Wrapping<i32>

fn div(self, other: Wrapping<i32>) -> Wrapping<i32>

impl DivAssign for Wrapping<i32>1.8.0

fn div_assign(&mut self, other: Wrapping<i32>)

impl Rem for Wrapping<i32>1.7.0

type Output = Wrapping<i32>

fn rem(self, other: Wrapping<i32>) -> Wrapping<i32>

impl RemAssign for Wrapping<i32>1.8.0

fn rem_assign(&mut self, other: Wrapping<i32>)

impl Not for Wrapping<i32>

type Output = Wrapping<i32>

fn not(self) -> Wrapping<i32>

impl BitXor for Wrapping<i32>

type Output = Wrapping<i32>

fn bitxor(self, other: Wrapping<i32>) -> Wrapping<i32>

impl BitXorAssign for Wrapping<i32>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<i32>)

impl BitOr for Wrapping<i32>

type Output = Wrapping<i32>

fn bitor(self, other: Wrapping<i32>) -> Wrapping<i32>

impl BitOrAssign for Wrapping<i32>1.8.0

fn bitor_assign(&mut self, other: Wrapping<i32>)

impl BitAnd for Wrapping<i32>

type Output = Wrapping<i32>

fn bitand(self, other: Wrapping<i32>) -> Wrapping<i32>

impl BitAndAssign for Wrapping<i32>1.8.0

fn bitand_assign(&mut self, other: Wrapping<i32>)

impl Add for Wrapping<i64>

type Output = Wrapping<i64>

fn add(self, other: Wrapping<i64>) -> Wrapping<i64>

impl AddAssign for Wrapping<i64>1.8.0

fn add_assign(&mut self, other: Wrapping<i64>)

impl Sub for Wrapping<i64>

type Output = Wrapping<i64>

fn sub(self, other: Wrapping<i64>) -> Wrapping<i64>

impl SubAssign for Wrapping<i64>1.8.0

fn sub_assign(&mut self, other: Wrapping<i64>)

impl Mul for Wrapping<i64>

type Output = Wrapping<i64>

fn mul(self, other: Wrapping<i64>) -> Wrapping<i64>

impl MulAssign for Wrapping<i64>1.8.0

fn mul_assign(&mut self, other: Wrapping<i64>)

impl Div for Wrapping<i64>1.3.0

type Output = Wrapping<i64>

fn div(self, other: Wrapping<i64>) -> Wrapping<i64>

impl DivAssign for Wrapping<i64>1.8.0

fn div_assign(&mut self, other: Wrapping<i64>)

impl Rem for Wrapping<i64>1.7.0

type Output = Wrapping<i64>

fn rem(self, other: Wrapping<i64>) -> Wrapping<i64>

impl RemAssign for Wrapping<i64>1.8.0

fn rem_assign(&mut self, other: Wrapping<i64>)

impl Not for Wrapping<i64>

type Output = Wrapping<i64>

fn not(self) -> Wrapping<i64>

impl BitXor for Wrapping<i64>

type Output = Wrapping<i64>

fn bitxor(self, other: Wrapping<i64>) -> Wrapping<i64>

impl BitXorAssign for Wrapping<i64>1.8.0

fn bitxor_assign(&mut self, other: Wrapping<i64>)

impl BitOr for Wrapping<i64>

type Output = Wrapping<i64>

fn bitor(self, other: Wrapping<i64>) -> Wrapping<i64>

impl BitOrAssign for Wrapping<i64>1.8.0

fn bitor_assign(&mut self, other: Wrapping<i64>)

impl BitAnd for Wrapping<i64>

type Output = Wrapping<i64>

fn bitand(self, other: Wrapping<i64>) -> Wrapping<i64>

impl BitAndAssign for Wrapping<i64>1.8.0

fn bitand_assign(&mut self, other: Wrapping<i64>)

impl<T: Debug> Debug for Wrapping<T>

fn fmt(&self, f: &mut Formatter) -> Result

impl<T: Display> Display for Wrapping<T>1.10.0

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl<T: Hash> Hash for Wrapping<T>

fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)

fn hash_slice<H: Hasher>(data: &[Self], state: &mut H) where Self: Sized1.3.0

impl<T: Default> Default for Wrapping<T>

fn default() -> Wrapping<T>

impl<T: Copy> Copy for Wrapping<T>

impl<T: Clone> Clone for Wrapping<T>

fn clone(&self) -> Wrapping<T>

fn clone_from(&mut self, source: &Self)

impl<T: Ord> Ord for Wrapping<T>

fn cmp(&self, __arg_0: &Wrapping<T>) -> Ordering

impl<T: PartialOrd> PartialOrd for Wrapping<T>

fn partial_cmp(&self, __arg_0: &Wrapping<T>) -> Option<Ordering>

fn lt(&self, __arg_0: &Wrapping<T>) -> bool

fn le(&self, __arg_0: &Wrapping<T>) -> bool

fn gt(&self, __arg_0: &Wrapping<T>) -> bool

fn ge(&self, __arg_0: &Wrapping<T>) -> bool

impl<T: Eq> Eq for Wrapping<T>

impl<T: PartialEq> PartialEq for Wrapping<T>

fn eq(&self, __arg_0: &Wrapping<T>) -> bool

fn ne(&self, __arg_0: &Wrapping<T>) -> bool