Skip to main content

Su8

Struct Su8 

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

A saturating wrapper around u8.

§Examples

use satint::{Su8, su8};

let value = su8(42);
assert_eq!(value, Su8::new(42));
assert_eq!(value.into_inner(), 42);

Implementations§

Source§

impl Su8

Source

pub const BITS: u32 = u8::BITS

The size of this scalar type in bits.

Source

pub const MIN: Self

The minimum representable value for this scalar type.

Source

pub const MAX: Self

The maximum representable value for this scalar type.

Source

pub const ZERO: Self

The additive identity value.

Source

pub const ONE: Self

The multiplicative identity value.

Source

pub const fn new(value: u8) -> Self

Creates a new Su8 from an inner u8 value.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(value.into_inner(), 42);
Source

pub const fn into_inner(self) -> u8

Returns the wrapped u8 value.

§Examples
use satint::Su8;

assert_eq!(Su8::new(42).into_inner(), 42);
Source

pub const fn count_ones(self) -> u32

Returns the number of ones in the binary representation.

§Examples
use satint::Su8;

let value = Su8::new(0b1010);
assert_eq!(value.count_ones(), value.into_inner().count_ones());
Source

pub const fn count_zeros(self) -> u32

Returns the number of zeros in the binary representation.

§Examples
use satint::Su8;

let value = Su8::new(0b1010);
assert_eq!(value.count_zeros(), value.into_inner().count_zeros());
Source

pub const fn leading_zeros(self) -> u32

Returns the number of leading zeros in the binary representation.

§Examples
use satint::Su8;

let value = Su8::new(0b1010);
assert_eq!(value.leading_zeros(), value.into_inner().leading_zeros());
Source

pub const fn leading_ones(self) -> u32

Returns the number of leading ones in the binary representation.

§Examples
use satint::Su8;

let value = Su8::MAX;
assert_eq!(value.leading_ones(), value.into_inner().leading_ones());
Source

pub const fn trailing_zeros(self) -> u32

Returns the number of trailing zeros in the binary representation.

§Examples
use satint::Su8;

let value = Su8::new(0b1000);
assert_eq!(value.trailing_zeros(), value.into_inner().trailing_zeros());
Source

pub const fn trailing_ones(self) -> u32

Returns the number of trailing ones in the binary representation.

§Examples
use satint::Su8;

let value = Su8::new(0b1011);
assert_eq!(value.trailing_ones(), value.into_inner().trailing_ones());
Source

pub const fn reverse_bits(self) -> Self

Reverses the order of bits.

§Examples
use satint::Su8;

let value = Su8::new(0b0001);
assert_eq!(value.reverse_bits().into_inner(), value.into_inner().reverse_bits());
Source

pub const fn rotate_left(self, n: u32) -> Self

Shifts bits to the left by n, wrapping the truncated bits to the end of the result.

§Examples
use satint::Su8;

let value = Su8::new(0b0001);
assert_eq!(value.rotate_left(1).into_inner(), value.into_inner().rotate_left(1));
Source

pub const fn rotate_right(self, n: u32) -> Self

Shifts bits to the right by n, wrapping the truncated bits to the beginning of the result.

§Examples
use satint::Su8;

let value = Su8::new(0b0010);
assert_eq!(value.rotate_right(1).into_inner(), value.into_inner().rotate_right(1));
Source

pub const fn swap_bytes(self) -> Self

Reverses the byte order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(value.swap_bytes().into_inner(), value.into_inner().swap_bytes());
Source

pub const fn from_be(value: Self) -> Self

Converts from big-endian to the target’s native endian.

§Examples
use satint::Su8;

let native = Su8::new(42);
assert_eq!(Su8::from_be(native.to_be()), native);
Source

pub const fn from_le(value: Self) -> Self

Converts from little-endian to the target’s native endian.

§Examples
use satint::Su8;

let native = Su8::new(42);
assert_eq!(Su8::from_le(native.to_le()), native);
Source

pub const fn to_be(self) -> Self

Converts self to big-endian from the target’s native endian.

§Examples
use satint::Su8;

let native = Su8::new(42);
assert_eq!(native.to_be().into_inner(), native.into_inner().to_be());
Source

pub const fn to_le(self) -> Self

Converts self to little-endian from the target’s native endian.

§Examples
use satint::Su8;

let native = Su8::new(42);
assert_eq!(native.to_le().into_inner(), native.into_inner().to_le());
Source

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

Returns the memory representation as a byte array in big-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(value.to_be_bytes(), value.into_inner().to_be_bytes());
Source

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

Returns the memory representation as a byte array in little-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(value.to_le_bytes(), value.into_inner().to_le_bytes());
Source

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

Returns the memory representation as a byte array in native-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(value.to_ne_bytes(), value.into_inner().to_ne_bytes());
Source

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

Creates a scalar from a byte array in big-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(Su8::from_be_bytes(value.to_be_bytes()), value);
Source

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

Creates a scalar from a byte array in little-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(Su8::from_le_bytes(value.to_le_bytes()), value);
Source

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

Creates a scalar from a byte array in native-endian order.

§Examples
use satint::Su8;

let value = Su8::new(42);
assert_eq!(Su8::from_ne_bytes(value.to_ne_bytes()), value);
Source

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

Divides two scalar values, returning None on division by zero or primitive signed overflow.

Signed overflow can occur for MIN / -1.

§Examples
use satint::Su8;

assert_eq!(Su8::new(10).checked_div(Su8::new(2)), Some(Su8::new(5)));
assert_eq!(Su8::new(10).checked_div(Su8::ZERO), None);
Source

pub const fn checked_div_euclid(self, rhs: Self) -> Option<Self>

Calculates Euclidean division, returning None on division by zero or primitive signed overflow.

§Examples
use satint::Su8;

assert_eq!(Su8::new(10).checked_div_euclid(Su8::new(3)), Some(Su8::new(3)));
assert_eq!(Su8::new(10).checked_div_euclid(Su8::ZERO), None);
Source

pub const fn checked_rem(self, rhs: Self) -> Option<Self>

Calculates the remainder of two scalar values, returning None on division by zero or primitive signed overflow.

Signed overflow can occur for MIN % -1.

§Examples
use satint::Su8;

assert_eq!(Su8::new(10).checked_rem(Su8::new(3)), Some(Su8::new(1)));
assert_eq!(Su8::new(10).checked_rem(Su8::ZERO), None);
Source

pub const fn checked_rem_euclid(self, rhs: Self) -> Option<Self>

Calculates the least nonnegative remainder, returning None on division by zero or primitive signed overflow.

§Examples
use satint::Su8;

assert_eq!(Su8::new(10).checked_rem_euclid(Su8::new(3)), Some(Su8::new(1)));
assert_eq!(Su8::new(10).checked_rem_euclid(Su8::ZERO), None);
Source

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

Raises self to the power of exp, saturating at numeric bounds.

§Examples
use satint::Su8;

assert_eq!(Su8::new(2).pow(3), Su8::new(8));
assert_eq!(Su8::MAX.pow(2), Su8::MAX);
Source

pub const fn checked_ilog(self, base: u8) -> Option<u32>

Returns the base-base logarithm, or None if the logarithm is undefined.

§Examples
use satint::Su8;

assert_eq!(Su8::new(8).checked_ilog(2), Some(3));
assert_eq!(Su8::ZERO.checked_ilog(2), None);
Source

pub const fn checked_ilog2(self) -> Option<u32>

Returns the base-2 logarithm, or None if the logarithm is undefined.

§Examples
use satint::Su8;

assert_eq!(Su8::new(8).checked_ilog2(), Some(3));
assert_eq!(Su8::ZERO.checked_ilog2(), None);
Source

pub const fn checked_ilog10(self) -> Option<u32>

Returns the base-10 logarithm, or None if the logarithm is undefined.

§Examples
use satint::Su8;

assert_eq!(Su8::new(100).checked_ilog10(), Some(2));
assert_eq!(Su8::ZERO.checked_ilog10(), None);
Source

pub const fn is_min(self) -> bool

Returns true if self is the minimum representable value.

§Examples
use satint::Su8;

assert!(Su8::MIN.is_min());
assert!(!Su8::MAX.is_min());
Source

pub const fn is_max(self) -> bool

Returns true if self is the maximum representable value.

§Examples
use satint::Su8;

assert!(Su8::MAX.is_max());
assert!(!Su8::ZERO.is_max());
Source

pub const fn is_zero(self) -> bool

Returns true if self is zero.

§Examples
use satint::Su8;

assert!(Su8::ZERO.is_zero());
assert!(!Su8::ONE.is_zero());
Source

pub const fn is_one(self) -> bool

Returns true if self is one.

§Examples
use satint::Su8;

assert!(Su8::ONE.is_one());
assert!(!Su8::ZERO.is_one());
Source§

impl Su8

Source

pub const fn abs_diff(self, rhs: Self) -> Self

Computes the absolute difference between self and rhs.

§Examples
use satint::Su8;

assert_eq!(Su8::new(10).abs_diff(Su8::new(25)), Su8::new(15));
Source

pub const fn is_power_of_two(self) -> bool

Returns true if self is a power of two.

§Examples
use satint::Su8;

assert!(Su8::new(16).is_power_of_two());
assert!(!Su8::new(10).is_power_of_two());
Source

pub const fn next_power_of_two(self) -> Self

Returns the smallest power of two greater than or equal to self, saturating at Su8::MAX if the primitive operation would overflow.

§Examples
use satint::Su8;

assert_eq!(Su8::new(15).next_power_of_two(), Su8::new(16));
assert_eq!(Su8::MAX.next_power_of_two(), Su8::MAX);
Source

pub const fn checked_next_power_of_two(self) -> Option<Self>

Returns the smallest power of two greater than or equal to self, or None if the primitive operation would overflow.

§Examples
use satint::Su8;

assert_eq!(Su8::new(15).checked_next_power_of_two(), Some(Su8::new(16)));
assert_eq!(Su8::MAX.checked_next_power_of_two(), None);
Source

pub const fn isqrt(self) -> Self

Returns the integer square root.

§Examples
use satint::Su8;

assert_eq!(Su8::new(16).isqrt(), Su8::new(4));
assert_eq!(Su8::new(15).isqrt(), Su8::new(3));
Source

pub const fn to_signed(self) -> Si8

Converts to the same-width signed wrapper, saturating values above the signed range to Si8::MAX.

§Examples
use satint::{Su8, Si8};

assert_eq!(Su8::new(42).to_signed(), Si8::new(42));
assert_eq!(Su8::MAX.to_signed(), Si8::MAX);

Trait Implementations§

Source§

impl Add<Si128> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Si16> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Si32> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Si64> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Si8> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Sisize> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su128> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su16> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su32> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su64> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Si128

Source§

type Output = Si128

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Si16

Source§

type Output = Si16

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Si32

Source§

type Output = Si32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Si64

Source§

type Output = Si64

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Si8

Source§

type Output = Si8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Sisize

Source§

type Output = Sisize

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Su128

Source§

type Output = Su128

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Su16

Source§

type Output = Su16

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Su32

Source§

type Output = Su32

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Su64

Source§

type Output = Su64

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Su8> for Susize

Source§

type Output = Susize

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<Susize> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i128> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i16> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i32> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i64> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i8> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<isize> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u128> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u16> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u32> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u64> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<usize> for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for Su8

Source§

type Output = Su8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl AddAssign<Si128> for Su8

Source§

fn add_assign(&mut self, rhs: Si128)

Performs the += operation. Read more
Source§

impl AddAssign<Si16> for Su8

Source§

fn add_assign(&mut self, rhs: Si16)

Performs the += operation. Read more
Source§

impl AddAssign<Si32> for Su8

Source§

fn add_assign(&mut self, rhs: Si32)

Performs the += operation. Read more
Source§

impl AddAssign<Si64> for Su8

Source§

fn add_assign(&mut self, rhs: Si64)

Performs the += operation. Read more
Source§

impl AddAssign<Si8> for Su8

Source§

fn add_assign(&mut self, rhs: Si8)

Performs the += operation. Read more
Source§

impl AddAssign<Sisize> for Su8

Source§

fn add_assign(&mut self, rhs: Sisize)

Performs the += operation. Read more
Source§

impl AddAssign<Su128> for Su8

Source§

fn add_assign(&mut self, rhs: Su128)

Performs the += operation. Read more
Source§

impl AddAssign<Su16> for Su8

Source§

fn add_assign(&mut self, rhs: Su16)

Performs the += operation. Read more
Source§

impl AddAssign<Su32> for Su8

Source§

fn add_assign(&mut self, rhs: Su32)

Performs the += operation. Read more
Source§

impl AddAssign<Su64> for Su8

Source§

fn add_assign(&mut self, rhs: Su64)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Si128

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Si16

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Si32

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Si64

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Si8

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Sisize

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Su128

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Su16

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Su32

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Su64

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Su8> for Susize

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl AddAssign<Susize> for Su8

Source§

fn add_assign(&mut self, rhs: Susize)

Performs the += operation. Read more
Source§

impl AddAssign<i128> for Su8

Source§

fn add_assign(&mut self, rhs: i128)

Performs the += operation. Read more
Source§

impl AddAssign<i16> for Su8

Source§

fn add_assign(&mut self, rhs: i16)

Performs the += operation. Read more
Source§

impl AddAssign<i32> for Su8

Source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
Source§

impl AddAssign<i64> for Su8

Source§

fn add_assign(&mut self, rhs: i64)

Performs the += operation. Read more
Source§

impl AddAssign<i8> for Su8

Source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
Source§

impl AddAssign<isize> for Su8

Source§

fn add_assign(&mut self, rhs: isize)

Performs the += operation. Read more
Source§

impl AddAssign<u128> for Su8

Source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
Source§

impl AddAssign<u16> for Su8

Source§

fn add_assign(&mut self, rhs: u16)

Performs the += operation. Read more
Source§

impl AddAssign<u32> for Su8

Source§

fn add_assign(&mut self, rhs: u32)

Performs the += operation. Read more
Source§

impl AddAssign<u64> for Su8

Source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
Source§

impl AddAssign<u8> for Su8

Source§

fn add_assign(&mut self, rhs: u8)

Performs the += operation. Read more
Source§

impl AddAssign<usize> for Su8

Source§

fn add_assign(&mut self, rhs: usize)

Performs the += operation. Read more
Source§

impl AddAssign for Su8

Source§

fn add_assign(&mut self, rhs: Su8)

Performs the += operation. Read more
Source§

impl BitAnd<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd for Su8

Source§

type Output = Su8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAndAssign<u8> for Su8

Source§

fn bitand_assign(&mut self, rhs: u8)

Performs the &= operation. Read more
Source§

impl BitAndAssign for Su8

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitOr<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr for Su8

Source§

type Output = Su8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOrAssign<u8> for Su8

Source§

fn bitor_assign(&mut self, rhs: u8)

Performs the |= operation. Read more
Source§

impl BitOrAssign for Su8

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl BitXor<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor for Su8

Source§

type Output = Su8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXorAssign<u8> for Su8

Source§

fn bitxor_assign(&mut self, rhs: u8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for Su8

Source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
Source§

impl Clone for Su8

Source§

fn clone(&self) -> Su8

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 Su8

Source§

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

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

impl Default for Su8

Source§

fn default() -> Su8

Returns the “default value” for a type. Read more
Source§

impl Display for Su8

Source§

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

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

impl From<Su8> for Si128

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Si16

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Si32

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Si64

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Sisize

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Su128

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Su16

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Su32

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Su64

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for Susize

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for f32

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for f64

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for isize

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for u128

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for u16

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for u32

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for u64

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for u8

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<Su8> for usize

Source§

fn from(value: Su8) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Su8

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Su8

Source§

type Err = <u8 as FromStr>::Err

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Su8

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 Mul<Su128> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su16> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su32> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su64> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su8> for Su128

Source§

type Output = Su128

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su8> for Su16

Source§

type Output = Su16

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su8> for Su32

Source§

type Output = Su32

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su8> for Su64

Source§

type Output = Su64

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Su8> for Susize

Source§

type Output = Susize

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Susize> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u128> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u16> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u32> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u64> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<usize> for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul for Su8

Source§

type Output = Su8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl MulAssign<Su128> for Su8

Source§

fn mul_assign(&mut self, rhs: Su128)

Performs the *= operation. Read more
Source§

impl MulAssign<Su16> for Su8

Source§

fn mul_assign(&mut self, rhs: Su16)

Performs the *= operation. Read more
Source§

impl MulAssign<Su32> for Su8

Source§

fn mul_assign(&mut self, rhs: Su32)

Performs the *= operation. Read more
Source§

impl MulAssign<Su64> for Su8

Source§

fn mul_assign(&mut self, rhs: Su64)

Performs the *= operation. Read more
Source§

impl MulAssign<Su8> for Su128

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl MulAssign<Su8> for Su16

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl MulAssign<Su8> for Su32

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl MulAssign<Su8> for Su64

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl MulAssign<Su8> for Susize

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl MulAssign<Susize> for Su8

Source§

fn mul_assign(&mut self, rhs: Susize)

Performs the *= operation. Read more
Source§

impl MulAssign<u128> for Su8

Source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
Source§

impl MulAssign<u16> for Su8

Source§

fn mul_assign(&mut self, rhs: u16)

Performs the *= operation. Read more
Source§

impl MulAssign<u32> for Su8

Source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
Source§

impl MulAssign<u64> for Su8

Source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
Source§

impl MulAssign<u8> for Su8

Source§

fn mul_assign(&mut self, rhs: u8)

Performs the *= operation. Read more
Source§

impl MulAssign<usize> for Su8

Source§

fn mul_assign(&mut self, rhs: usize)

Performs the *= operation. Read more
Source§

impl MulAssign for Su8

Source§

fn mul_assign(&mut self, rhs: Su8)

Performs the *= operation. Read more
Source§

impl Not for Su8

Source§

type Output = Su8

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Ord for Su8

Source§

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

Source§

fn eq(&self, other: &Su8) -> 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 PartialEq<u8> for Su8

Source§

fn eq(&self, other: &u8) -> 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 PartialEq for Su8

Source§

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

Source§

fn partial_cmp(&self, other: &Su8) -> 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 PartialOrd<u8> for Su8

Source§

fn partial_cmp(&self, other: &u8) -> 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 PartialOrd for Su8

Source§

fn partial_cmp(&self, other: &Su8) -> 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<'a> Product<&'a Su8> for Su8

Source§

fn product<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl Product for Su8

Source§

fn product<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by multiplying the items.
Source§

impl SaturatingFrom<Si128> for Su8

Source§

fn saturating_from(value: Si128) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Si16> for Su8

Source§

fn saturating_from(value: Si16) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Si32> for Su8

Source§

fn saturating_from(value: Si32) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Si64> for Su8

Source§

fn saturating_from(value: Si64) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Si8> for Su8

Source§

fn saturating_from(value: Si8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Sisize> for Su8

Source§

fn saturating_from(value: Sisize) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su128> for Su8

Source§

fn saturating_from(value: Su128) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su16> for Su8

Source§

fn saturating_from(value: Su16) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su32> for Su8

Source§

fn saturating_from(value: Su32) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su64> for Su8

Source§

fn saturating_from(value: Su64) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Si128

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Si16

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Si32

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Si64

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Si8

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Sisize

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Su128

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Su16

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Su32

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Su64

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for Susize

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for i128

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for i16

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for i32

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for i64

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for i8

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for isize

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for u16

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for u32

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for u64

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for u8

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Su8> for usize

Source§

fn saturating_from(value: Su8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<Susize> for Su8

Source§

fn saturating_from(value: Susize) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<f32> for Su8

Source§

fn saturating_from(value: f32) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<f64> for Su8

Source§

fn saturating_from(value: f64) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<i128> for Su8

Source§

fn saturating_from(value: i128) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<i16> for Su8

Source§

fn saturating_from(value: i16) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<i32> for Su8

Source§

fn saturating_from(value: i32) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<i64> for Su8

Source§

fn saturating_from(value: i64) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<i8> for Su8

Source§

fn saturating_from(value: i8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<isize> for Su8

Source§

fn saturating_from(value: isize) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<u128> for Su8

Source§

fn saturating_from(value: u128) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<u16> for Su8

Source§

fn saturating_from(value: u16) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<u32> for Su8

Source§

fn saturating_from(value: u32) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<u64> for Su8

Source§

fn saturating_from(value: u64) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<u8> for Su8

Source§

fn saturating_from(value: u8) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl SaturatingFrom<usize> for Su8

Source§

fn saturating_from(value: usize) -> Self

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl Shl<u32> for Su8

Source§

type Output = Su8

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: u32) -> Self

Performs the << operation. Read more
Source§

impl ShlAssign<u32> for Su8

Source§

fn shl_assign(&mut self, rhs: u32)

Performs the <<= operation. Read more
Source§

impl Shr<u32> for Su8

Source§

type Output = Su8

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: u32) -> Self

Performs the >> operation. Read more
Source§

impl ShrAssign<u32> for Su8

Source§

fn shr_assign(&mut self, rhs: u32)

Performs the >>= operation. Read more
Source§

impl Sub<Si128> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Si16> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Si32> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Si64> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Si8> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Sisize> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su128> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su16> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su32> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su64> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Si128

Source§

type Output = Si128

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Si16

Source§

type Output = Si16

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Si32

Source§

type Output = Si32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Si64

Source§

type Output = Si64

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Si8

Source§

type Output = Si8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Sisize

Source§

type Output = Sisize

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Su128

Source§

type Output = Su128

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Su16

Source§

type Output = Su16

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Su32

Source§

type Output = Su32

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Su64

Source§

type Output = Su64

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Su8> for Susize

Source§

type Output = Susize

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<Susize> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i128> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i16> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i32> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i64> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i8> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<isize> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u128> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u16> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u32> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u64> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<u8> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<usize> for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for Su8

Source§

type Output = Su8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl SubAssign<Si128> for Su8

Source§

fn sub_assign(&mut self, rhs: Si128)

Performs the -= operation. Read more
Source§

impl SubAssign<Si16> for Su8

Source§

fn sub_assign(&mut self, rhs: Si16)

Performs the -= operation. Read more
Source§

impl SubAssign<Si32> for Su8

Source§

fn sub_assign(&mut self, rhs: Si32)

Performs the -= operation. Read more
Source§

impl SubAssign<Si64> for Su8

Source§

fn sub_assign(&mut self, rhs: Si64)

Performs the -= operation. Read more
Source§

impl SubAssign<Si8> for Su8

Source§

fn sub_assign(&mut self, rhs: Si8)

Performs the -= operation. Read more
Source§

impl SubAssign<Sisize> for Su8

Source§

fn sub_assign(&mut self, rhs: Sisize)

Performs the -= operation. Read more
Source§

impl SubAssign<Su128> for Su8

Source§

fn sub_assign(&mut self, rhs: Su128)

Performs the -= operation. Read more
Source§

impl SubAssign<Su16> for Su8

Source§

fn sub_assign(&mut self, rhs: Su16)

Performs the -= operation. Read more
Source§

impl SubAssign<Su32> for Su8

Source§

fn sub_assign(&mut self, rhs: Su32)

Performs the -= operation. Read more
Source§

impl SubAssign<Su64> for Su8

Source§

fn sub_assign(&mut self, rhs: Su64)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Si128

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Si16

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Si32

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Si64

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Si8

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Sisize

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Su128

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Su16

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Su32

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Su64

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Su8> for Susize

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl SubAssign<Susize> for Su8

Source§

fn sub_assign(&mut self, rhs: Susize)

Performs the -= operation. Read more
Source§

impl SubAssign<i128> for Su8

Source§

fn sub_assign(&mut self, rhs: i128)

Performs the -= operation. Read more
Source§

impl SubAssign<i16> for Su8

Source§

fn sub_assign(&mut self, rhs: i16)

Performs the -= operation. Read more
Source§

impl SubAssign<i32> for Su8

Source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
Source§

impl SubAssign<i64> for Su8

Source§

fn sub_assign(&mut self, rhs: i64)

Performs the -= operation. Read more
Source§

impl SubAssign<i8> for Su8

Source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
Source§

impl SubAssign<isize> for Su8

Source§

fn sub_assign(&mut self, rhs: isize)

Performs the -= operation. Read more
Source§

impl SubAssign<u128> for Su8

Source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
Source§

impl SubAssign<u16> for Su8

Source§

fn sub_assign(&mut self, rhs: u16)

Performs the -= operation. Read more
Source§

impl SubAssign<u32> for Su8

Source§

fn sub_assign(&mut self, rhs: u32)

Performs the -= operation. Read more
Source§

impl SubAssign<u64> for Su8

Source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
Source§

impl SubAssign<u8> for Su8

Source§

fn sub_assign(&mut self, rhs: u8)

Performs the -= operation. Read more
Source§

impl SubAssign<usize> for Su8

Source§

fn sub_assign(&mut self, rhs: usize)

Performs the -= operation. Read more
Source§

impl SubAssign for Su8

Source§

fn sub_assign(&mut self, rhs: Su8)

Performs the -= operation. Read more
Source§

impl<'a> Sum<&'a Su8> for Su8

Source§

fn sum<I: Iterator<Item = &'a Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl Sum for Su8

Source§

fn sum<I: Iterator<Item = Self>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl TryDiv<Su128> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Su128) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su16> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Su16) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su32> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Su32) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su64> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Su64) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su8> for Su128

Source§

type Output = Su128

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su8> for Su16

Source§

type Output = Su16

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su8> for Su32

Source§

type Output = Su32

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su8> for Su64

Source§

type Output = Su64

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Su8> for Susize

Source§

type Output = Susize

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<Susize> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Susize) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<u128> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: u128) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<u16> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: u16) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<u32> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: u32) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<u64> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: u64) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<u8> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: u8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv<usize> for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: usize) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDiv for Su8

Source§

type Output = Su8

Result type produced by the division.
Source§

fn try_div(self, rhs: Su8) -> Result<Self::Output, DivError>

Divides self by rhs. Read more
Source§

impl TryDivAssign<Su128> for Su8

Source§

fn try_div_assign(&mut self, rhs: Su128) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su16> for Su8

Source§

fn try_div_assign(&mut self, rhs: Su16) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su32> for Su8

Source§

fn try_div_assign(&mut self, rhs: Su32) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su64> for Su8

Source§

fn try_div_assign(&mut self, rhs: Su64) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su8> for Su128

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su8> for Su16

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su8> for Su32

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su8> for Su64

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Su8> for Susize

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<Susize> for Su8

Source§

fn try_div_assign(&mut self, rhs: Susize) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<u128> for Su8

Source§

fn try_div_assign(&mut self, rhs: u128) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<u16> for Su8

Source§

fn try_div_assign(&mut self, rhs: u16) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<u32> for Su8

Source§

fn try_div_assign(&mut self, rhs: u32) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<u64> for Su8

Source§

fn try_div_assign(&mut self, rhs: u64) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<u8> for Su8

Source§

fn try_div_assign(&mut self, rhs: u8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign<usize> for Su8

Source§

fn try_div_assign(&mut self, rhs: usize) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryDivAssign for Su8

Source§

fn try_div_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Divides self by rhs in place. Read more
Source§

impl TryRem<Su128> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su128) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su16> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su16) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su32> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su32) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su64> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su64) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su8> for Su128

Source§

type Output = Su128

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su8> for Su16

Source§

type Output = Su16

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su8> for Su32

Source§

type Output = Su32

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su8> for Su64

Source§

type Output = Su64

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Su8> for Susize

Source§

type Output = Susize

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<Susize> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Susize) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<u128> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: u128) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<u16> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: u16) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<u32> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: u32) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<u64> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: u64) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<u8> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: u8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem<usize> for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: usize) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRem for Su8

Source§

type Output = Su8

Result type produced by the remainder operation.
Source§

fn try_rem(self, rhs: Su8) -> Result<Self::Output, DivError>

Calculates self % rhs. Read more
Source§

impl TryRemAssign<Su128> for Su8

Source§

fn try_rem_assign(&mut self, rhs: Su128) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su16> for Su8

Source§

fn try_rem_assign(&mut self, rhs: Su16) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su32> for Su8

Source§

fn try_rem_assign(&mut self, rhs: Su32) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su64> for Su8

Source§

fn try_rem_assign(&mut self, rhs: Su64) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su8> for Su128

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su8> for Su16

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su8> for Su32

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su8> for Su64

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Su8> for Susize

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<Susize> for Su8

Source§

fn try_rem_assign(&mut self, rhs: Susize) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<u128> for Su8

Source§

fn try_rem_assign(&mut self, rhs: u128) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<u16> for Su8

Source§

fn try_rem_assign(&mut self, rhs: u16) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<u32> for Su8

Source§

fn try_rem_assign(&mut self, rhs: u32) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<u64> for Su8

Source§

fn try_rem_assign(&mut self, rhs: u64) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<u8> for Su8

Source§

fn try_rem_assign(&mut self, rhs: u8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign<usize> for Su8

Source§

fn try_rem_assign(&mut self, rhs: usize) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl TryRemAssign for Su8

Source§

fn try_rem_assign(&mut self, rhs: Su8) -> Result<(), DivError>

Calculates *self %= rhs in place. Read more
Source§

impl Copy for Su8

Source§

impl Eq for Su8

Source§

impl StructuralPartialEq for Su8

Auto Trait Implementations§

§

impl Freeze for Su8

§

impl RefUnwindSafe for Su8

§

impl Send for Su8

§

impl Sync for Su8

§

impl Unpin for Su8

§

impl UnsafeUnpin for Su8

§

impl UnwindSafe for Su8

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> SaturatingFrom<T> for T

Source§

fn saturating_from(value: T) -> T

Converts value into Self, clamping to the destination range when the source value cannot be represented exactly. Read more
Source§

impl<T, U> SaturatingInto<U> for T
where U: SaturatingFrom<T>,

Source§

fn saturating_into(self) -> U

Converts self into U, clamping to the destination range when the source value cannot be represented exactly. 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.