Struct i1

Source
pub struct i1(/* private fields */);
Expand description

The 1-bit signed integer type.

Implementations§

Source§

impl i1

Source

pub const MIN: i1

The smallest value that can be represented by this integer type.

§Examples

Basic usage:

assert_eq!(i1::MIN, i1::try_from(-1i8).unwrap());
Source

pub const MAX: i1

The largest value that can be represented by this integer type.

§Examples

Basic usage:

assert_eq!(i1::MAX, i1::try_from(0i8).unwrap());
Source

pub const BITS: u32 = 1u32

The size of this integer type in bits.

§Examples
assert_eq!(i1::BITS, 1);
Source

pub const fn new(x: i8) -> Self

Equivalent of an as cast.

§Panics

When x is out of bounds.

Source

pub fn from_be_bytes(bytes: [u8; 1]) -> Self

Create a native endian integer value from its representation as a byte array in big endian.

Source

pub fn from_le_bytes(bytes: [u8; 1]) -> Self

Create a native endian integer value from its representation as a byte array in little endian.

Source

pub fn from_ne_bytes(bytes: [u8; 1]) -> Self

Create a native endian integer value from its memory representation as a byte array in native endianness.

As the target platform’s native endianness is used, portable code likely wants to use from_be_bytes or from_le_bytes, as appropriate instead.

Source

pub fn to_be_bytes(self) -> [u8; 1]

Return the memory representation of this integer as a byte array in big-endian (network) byte order.

Unused bits are undefined.

Source

pub fn to_le_bytes(self) -> [u8; 1]

Return the memory representation of this integer as a byte array in little-endian byte order.

Unused bits are undefined.

Source

pub fn to_ne_bytes(self) -> [u8; 1]

Return the memory representation of this integer as a byte array in native byte order.

As the target platform’s native endianness is used, portable code should use to_be_bytes or to_le_bytes, as appropriate, instead.

Unused bits are undefined.

Source

pub fn from_str_radix(src: &str, radix: u32) -> Result<i1, ParseIntError>

Converts a string slice in a given base to an integer.

The string is expected to be an optional + sign followed by digits. Leading and trailing whitespace represent an error. Digits are a subset of these characters, depending on radix:

  • 0-9
  • a-z
  • A-Z
§Panics

This function panics if radix is not in the range from 2 to 36.

Source

pub fn pow(self, exp: u32) -> i1

Raises self to the power of exp, using exponentiation by squaring.

Source

pub fn checked_add(self, rhs: i1) -> Option<i1>

Checked integer addition. Computes self + rhs, returning None if overflow occurred.

Source

pub fn checked_div(self, rhs: i1) -> Option<i1>

Checked integer division. Computes self / rhs, returning None if rhs == 0.

Source

pub fn checked_mul(self, rhs: i1) -> Option<i1>

Checked integer multiplication. Computes self * rhs, returning None if overflow occurred.

Source

pub fn checked_sub(self, rhs: i1) -> Option<i1>

Checked integer subtraction. Computes self - rhs, returning None if overflow occurred.

Source

pub fn wrapping_add(self, rhs: i1) -> i1

Wrapping (modular) addition. Computes self + rhs, wrapping around at the boundary of the type.

§Examples

Basic usage:

assert_eq!(i1::MIN.wrapping_add(i1::try_from(-1i8).unwrap()), i1::MAX);
Source

pub fn wrapping_sub(self, rhs: i1) -> i1

Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the boundary of the type.

Trait Implementations§

Source§

impl Add<&i1> for &i1

Source§

type Output = i2

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i2

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i3

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i4

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i5

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i6

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for &i7

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i1

Source§

type Output = i2

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i2

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i3

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i4

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i5

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i6

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i1> for i7

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i2> for &i1

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i2) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i2> for i1

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i2) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i3> for &i1

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i3) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i3> for i1

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i3) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i4> for &i1

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i4) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i4> for i1

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i4) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i5> for &i1

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i5) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i5> for i1

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i5) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i6> for &i1

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i6) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i6> for i1

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i6) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i7> for &i1

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i7) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&i7> for i1

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i7) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i1

Source§

type Output = i2

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i2

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i3

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i4

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i5

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i6

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i1> for &'a i7

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i2

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i3

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i4

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i5

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i6

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i1> for i7

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i2> for &'a i1

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i2) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i2> for i1

Source§

type Output = i3

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i2) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i3> for &'a i1

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i3) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i3> for i1

Source§

type Output = i4

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i3) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i4> for &'a i1

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i4) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i4> for i1

Source§

type Output = i5

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i4) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i5> for &'a i1

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i5) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i5> for i1

Source§

type Output = i6

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i5) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i6> for &'a i1

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i6) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i6> for i1

Source§

type Output = i7

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i6) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i7> for &'a i1

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i7) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i7> for i1

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i7) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for i1

Source§

type Output = i2

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i1) -> Self::Output

Performs the + operation. Read more
Source§

impl Binary for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl BitAnd<&i1> for &i1

Source§

type Output = <i1 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &i1) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd<&i1> for i1

Source§

type Output = <i1 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &i1) -> Self::Output

Performs the & operation. Read more
Source§

impl<'a> BitAnd<i1> for &'a i1

Source§

type Output = <i1 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i1) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd for i1

Source§

type Output = i1

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitOr<&i1> for &i1

Source§

type Output = <i1 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &i1) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr<&i1> for i1

Source§

type Output = <i1 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &i1) -> Self::Output

Performs the | operation. Read more
Source§

impl<'a> BitOr<i1> for &'a i1

Source§

type Output = <i1 as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i1) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr for i1

Source§

type Output = i1

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitXor<&i1> for &i1

Source§

type Output = <i1 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &i1) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXor<&i1> for i1

Source§

type Output = <i1 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &i1) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXor<i1> for &'a i1

Source§

type Output = <i1 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i1) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXor for i1

Source§

type Output = i1

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl Clone for i1

Source§

fn clone(&self) -> i1

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Div<&i1> for &i1

Source§

type Output = i1

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i1) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&i1> for i1

Source§

type Output = i1

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i1) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i1> for &'a i1

Source§

type Output = i1

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i1) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for i1

Source§

type Output = i1

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i1) -> Self::Output

Performs the / operation. Read more
Source§

impl From<i1> for i128

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl From<i1> for i16

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl From<i1> for i2

Source§

fn from(x: i1) -> i2

Converts to this type from the input type.
Source§

impl From<i1> for i3

Source§

fn from(x: i1) -> i3

Converts to this type from the input type.
Source§

impl From<i1> for i32

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl From<i1> for i4

Source§

fn from(x: i1) -> i4

Converts to this type from the input type.
Source§

impl From<i1> for i5

Source§

fn from(x: i1) -> i5

Converts to this type from the input type.
Source§

impl From<i1> for i6

Source§

fn from(x: i1) -> i6

Converts to this type from the input type.
Source§

impl From<i1> for i64

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl From<i1> for i7

Source§

fn from(x: i1) -> i7

Converts to this type from the input type.
Source§

impl From<i1> for i8

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl From<i1> for i8

Source§

fn from(x: i1) -> i8

Converts to this type from the input type.
Source§

impl From<i1> for isize

Source§

fn from(x: i1) -> Self

Converts to this type from the input type.
Source§

impl Hash for i1

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Feeds a slice of this type into the given Hasher. Read more
Source§

impl LowerHex for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Mul<&i1> for &i1

Source§

type Output = i2

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i2

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i3

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i4

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i5

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i6

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for &i7

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i1

Source§

type Output = i2

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i2

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i3

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i4

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i5

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i6

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i1> for i7

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i2> for &i1

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i2) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i2> for i1

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i2) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i3> for &i1

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i3) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i3> for i1

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i3) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i4> for &i1

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i4) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i4> for i1

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i4) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i5> for &i1

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i5) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i5> for i1

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i5) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i6> for &i1

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i6) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i6> for i1

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i6) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i7> for &i1

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i7) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&i7> for i1

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i7) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i1

Source§

type Output = i2

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i2

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i3

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i4

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i5

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i6

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i1> for &'a i7

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i2

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i3

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i4

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i5

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i6

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i1> for i7

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i2> for &'a i1

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i2) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i2> for i1

Source§

type Output = i3

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i2) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i3> for &'a i1

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i3) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i3> for i1

Source§

type Output = i4

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i3) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i4> for &'a i1

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i4) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i4> for i1

Source§

type Output = i5

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i4) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i5> for &'a i1

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i5) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i5> for i1

Source§

type Output = i6

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i5) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i6> for &'a i1

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i6) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i6> for i1

Source§

type Output = i7

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i6) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i7> for &'a i1

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i7) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i7> for i1

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i7) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for i1

Source§

type Output = i2

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i1) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for i1

Source§

type Output = i1

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Not for &i1

Source§

type Output = <i1 as Not>::Output

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Not for i1

Source§

type Output = i1

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Octal for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Ord for i1

Source§

fn cmp(&self, other: &i1) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for i1

Source§

fn eq(&self, other: &i1) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for i1

Source§

fn partial_cmp(&self, other: &i1) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Rem<&i1> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i2

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i3

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i4

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i5

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i6

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i7

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for &i8

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i2

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i3

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i4

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i5

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i6

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i7

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i1> for i8

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i2> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i2) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i2> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i2) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i3> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i3) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i3> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i3) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i4> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i4) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i4> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i4) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i5> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i5) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i5> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i5) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i6> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i6) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i6> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i6) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i7> for &i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i7) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<&i7> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i7) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i2

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i3

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i4

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i5

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i6

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i7

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i1> for &'a i8

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i2

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i3

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i4

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i5

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i6

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i7

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i1> for i8

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i2> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i2) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i2> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i2) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i3> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i3) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i3> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i3) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i4> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i4) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i4> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i4) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i5> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i5) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i5> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i5) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i6> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i6) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i6> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i6) -> Self::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<i7> for &'a i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i7) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<i7> for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i7) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem for i1

Source§

type Output = i1

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i1) -> Self::Output

Performs the % operation. Read more
Source§

impl Sub<&i1> for &i1

Source§

type Output = i2

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i2

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i3

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i4

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for &i7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i1

Source§

type Output = i2

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i2

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i3

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i4

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i1> for i7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i2> for &i1

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i2) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i2> for i1

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i2) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i3> for &i1

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i3) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i3> for i1

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i3) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i4> for &i1

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i4) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i4> for i1

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i4) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i5> for &i1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i5) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i5> for i1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i5) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i6> for &i1

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i6) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i6> for i1

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i6) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i7> for &i1

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i7) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&i7> for i1

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i7) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i1

Source§

type Output = i2

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i2

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i3

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i4

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i1> for &'a i7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i2

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i3

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i4

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i1> for i7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i2> for &'a i1

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i2) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i2> for i1

Source§

type Output = i3

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i2) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i3> for &'a i1

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i3) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i3> for i1

Source§

type Output = i4

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i3) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i4> for &'a i1

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i4) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i4> for i1

Source§

type Output = i5

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i4) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i5> for &'a i1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i5) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i5> for i1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i5) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i6> for &'a i1

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i6) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i6> for i1

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i6) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i7> for &'a i1

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i7) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i7> for i1

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i7) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for i1

Source§

type Output = i2

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i1) -> Self::Output

Performs the - operation. Read more
Source§

impl TryFrom<i1> for u1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u2

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u2, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u3

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u3, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u4

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u4, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u5

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u5, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u6

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u6, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u7

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u7, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i1> for u8

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i1) -> Result<u8, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i2> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i2) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i3> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i3) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i4> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i4) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i5> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i5) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i6> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i6) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i7> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i7) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: i8) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u1> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u1) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u2> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u2) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u3> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u3) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u4> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u4) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u5> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u5) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u6> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u6) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u7> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u7) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for i1

Source§

type Error = TryFromIntError

The type returned in the event of a conversion error.
Source§

fn try_from(x: u8) -> Result<i1, Self::Error>

Performs the conversion.
Source§

impl UpperHex for i1

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for i1

Source§

impl Eq for i1

Source§

impl StructuralPartialEq for i1

Auto Trait Implementations§

§

impl Freeze for i1

§

impl RefUnwindSafe for i1

§

impl Send for i1

§

impl Sync for i1

§

impl Unpin for i1

§

impl UnwindSafe for i1

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.