Struct u5

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

The 5-bit unsigned integer type.

Implementations§

Source§

impl u5

Source

pub const MIN: u5

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

§Examples

Basic usage:

assert_eq!(u5::MIN, u5::try_from(0u8).unwrap());
Source

pub const MAX: u5

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

§Examples

Basic usage:

assert_eq!(u5::MAX, u5::try_from(31u8).unwrap());
Source

pub const BITS: u32 = 5u32

The size of this integer type in bits.

§Examples
assert_eq!(u5::BITS, 5);
Source

pub const fn new(x: u8) -> 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.

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.

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.

Source

pub fn from_str_radix(src: &str, radix: u32) -> Result<u5, 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) -> u5

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

§Examples

Basic usage:

assert_eq!(u5::MAX.wrapping_add(u5::try_from(1u8).unwrap()), u5::MIN);
Source

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

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

Trait Implementations§

Source§

impl Add<&u1> for &u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u1> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u2> for &u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u2> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u3> for &u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u3> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u4> for &u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u4> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u1

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u2

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u3

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u4

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u6

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for &u7

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u1

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u2

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u3

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u4

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u6

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u5> for u7

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u6> for &u5

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u6> for u5

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u7> for &u5

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<&u7> for u5

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u1> for &'a u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u1> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u2> for &'a u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u2> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u3> for &'a u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u3> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u4> for &'a u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u4> for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u1

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u2

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u3

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u4

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u6

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u5> for &'a u7

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u1

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u2

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u3

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u4

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u6

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u5> for u7

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u6> for &'a u5

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u6> for u5

Source§

type Output = u7

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> Add<u7> for &'a u5

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u7> for u5

Source§

type Output = u8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for u5

Source§

type Output = u6

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Binary for u5

Source§

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

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

impl BitAnd<&u5> for &u5

Source§

type Output = <u5 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<&u5> for u5

Source§

type Output = <u5 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = <u5 as BitAnd>::Output

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd for u5

Source§

type Output = u5

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitOr<&u5> for &u5

Source§

type Output = <u5 as BitOr>::Output

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<&u5> for u5

Source§

type Output = <u5 as BitOr>::Output

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = <u5 as BitOr>::Output

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr for u5

Source§

type Output = u5

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitXor<&u5> for &u5

Source§

type Output = <u5 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<&u5> for u5

Source§

type Output = <u5 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = <u5 as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor for u5

Source§

type Output = u5

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl Clone for u5

Source§

fn clone(&self) -> u5

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 u5

Source§

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

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

impl Display for u5

Source§

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

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

impl Div<&u5> for &u5

Source§

type Output = u5

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<&u5> for u5

Source§

type Output = u5

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = u5

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div for u5

Source§

type Output = u5

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl From<u1> for u5

Source§

fn from(x: u1) -> u5

Converts to this type from the input type.
Source§

impl From<u2> for u5

Source§

fn from(x: u2) -> u5

Converts to this type from the input type.
Source§

impl From<u3> for u5

Source§

fn from(x: u3) -> u5

Converts to this type from the input type.
Source§

impl From<u4> for u5

Source§

fn from(x: u4) -> u5

Converts to this type from the input type.
Source§

impl From<u5> for i6

Source§

fn from(x: u5) -> i6

Converts to this type from the input type.
Source§

impl From<u5> for i7

Source§

fn from(x: u5) -> i7

Converts to this type from the input type.
Source§

impl From<u5> for i8

Source§

fn from(x: u5) -> i8

Converts to this type from the input type.
Source§

impl From<u5> for u128

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for u16

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for u32

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for u6

Source§

fn from(x: u5) -> u6

Converts to this type from the input type.
Source§

impl From<u5> for u64

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for u7

Source§

fn from(x: u5) -> u7

Converts to this type from the input type.
Source§

impl From<u5> for u8

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for u8

Source§

fn from(x: u5) -> u8

Converts to this type from the input type.
Source§

impl From<u5> for usize

Source§

fn from(x: u5) -> Self

Converts to this type from the input type.
Source§

impl Hash for u5

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 u5

Source§

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

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

impl Mul<&u1> for &u5

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u1> for u5

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u2> for &u5

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u2> for u5

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u3> for &u5

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u3> for u5

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for &u1

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for &u2

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for &u3

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for u1

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for u2

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<&u5> for u3

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u1> for &'a u5

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u1> for u5

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u2> for &'a u5

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u2> for u5

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u3> for &'a u5

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u3> for u5

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u5> for &'a u1

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u5> for &'a u2

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> Mul<u5> for &'a u3

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u5> for u1

Source§

type Output = u6

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u5> for u2

Source§

type Output = u7

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u5> for u3

Source§

type Output = u8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Not for &u5

Source§

type Output = <u5 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 u5

Source§

type Output = u5

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Octal for u5

Source§

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

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

impl Ord for u5

Source§

fn cmp(&self, other: &u5) -> 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 u5

Source§

fn eq(&self, other: &u5) -> 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 u5

Source§

fn partial_cmp(&self, other: &u5) -> 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<&u1> for &u5

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u1> for u5

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u2> for &u5

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u2> for u5

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u3> for &u5

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u3> for u5

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u4> for &u5

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u4> for u5

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u1

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u2

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u3

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u4

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u6

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u7

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for &u8

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u1

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u2

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u3

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u4

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u6

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u7

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u5> for u8

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u6> for &u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u6> for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u7> for &u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<&u7> for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u1> for &'a u5

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u1> for u5

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u2> for &'a u5

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u2> for u5

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u3> for &'a u5

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u3> for u5

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u4> for &'a u5

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u4> for u5

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u1

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u2

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u3

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u4

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u6

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u7

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u5> for &'a u8

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u1

Source§

type Output = u1

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u2

Source§

type Output = u2

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u3

Source§

type Output = u3

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u4

Source§

type Output = u4

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u6

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u7

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u5> for u8

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u6> for &'a u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u6> for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> Rem<u7> for &'a u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<u7> for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem for u5

Source§

type Output = u5

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Sub<&u1> for &u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u1> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u2> for &u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u2> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u3> for &u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u3> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u4> for &u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u4> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u2

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u3

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u4

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for &u7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u2

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u3

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u4

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u5> for u7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u6> for &u5

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u6> for u5

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u7> for &u5

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<&u7> for u5

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u1> for &'a u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u1> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u2> for &'a u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u2> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u3> for &'a u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u3> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u4> for &'a u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u4> for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u2

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u3

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u4

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u5> for &'a u7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u1

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u2

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u3

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u4

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u6

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u5> for u7

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u6> for &'a u5

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u6> for u5

Source§

type Output = i7

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> Sub<u7> for &'a u5

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u7> for u5

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for u5

Source§

type Output = i6

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
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<i2> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i3> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i4> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i5> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i6> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i7> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<i8> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u128> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u16> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u32> for u5

Source§

type Error = TryFromIntError

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

fn try_from(x: u32) -> Result<Self, 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<u5> for i2

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for i3

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for i4

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for i5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for u1

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for u2

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for u3

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u5> for u4

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u6> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u64> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u7> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u8> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<u8> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl TryFrom<usize> for u5

Source§

type Error = TryFromIntError

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

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

Performs the conversion.
Source§

impl UpperHex for u5

Source§

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

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

impl Copy for u5

Source§

impl Eq for u5

Source§

impl StructuralPartialEq for u5

Auto Trait Implementations§

§

impl Freeze for u5

§

impl RefUnwindSafe for u5

§

impl Send for u5

§

impl Sync for u5

§

impl Unpin for u5

§

impl UnwindSafe for u5

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.