[−][src]Trait arbitrary::unstructured::Int
A trait that is implemented for all of the primitive integers:
u8
u16
u32
u64
u128
usize
i8
i16
i32
i64
i128
isize
Don't implement this trait yourself.
A trait that is implemented for all of the primitive integers:
u8
u16
u32
u64
u128
usize
i8
i16
i32
i64
i128
isize
Don't implement this trait yourself.
impl Int for u8
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for u16
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for u32
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for u64
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for u128
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for usize
[src]type Widest = u128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for i8
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for i16
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for i32
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for i64
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for i128
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]impl Int for isize
[src]type Widest = i128
const ZERO: Self
[src]const ONE: Self
[src]fn as_widest(self) -> Self::Widest
[src]fn from_widest(w: Self::Widest) -> Self
[src]fn from_u8(b: u8) -> Self
[src]fn from_usize(u: usize) -> Self
[src]fn checked_add(self, rhs: Self) -> Option<Self>
[src]fn wrapping_add(self, rhs: Self) -> Self
[src]