Enum BoundedEnum

Source
#[repr(i8)]
pub enum BoundedEnum {
Show 16 variants N8 = -8, N7 = 249, N6 = 250, N5 = 251, N4 = 252, N3 = 253, N2 = 254, N1 = 255, Z = 0, P1 = 1, P2 = 2, P3 = 3, P4 = 4, P5 = 5, P6 = 6, P7 = 7,
}
Expand description

A bounded enum.

This was generated from:

bounded_integer! {
    pub enum BoundedEnum { -8..8 }
}

Variants§

§

N8 = -8

§

N7 = 249

§

N6 = 250

§

N5 = 251

§

N4 = 252

§

N3 = 253

§

N2 = 254

§

N1 = 255

§

Z = 0

§

P1 = 1

§

P2 = 2

§

P3 = 3

§

P4 = 4

§

P5 = 5

§

P6 = 6

§

P7 = 7

Implementations§

Source§

impl BoundedEnum

Source

pub const MIN_VALUE: i8 = -8i8

The smallest value that this bounded integer can contain; -8.

Source

pub const MAX_VALUE: i8 = 7i8

The largest value that this bounded integer can contain; 7.

Source

pub const MIN: Self = Self::N8

The smallest value of the bounded integer; -8.

Source

pub const MAX: Self = Self::P7

The largest value of the bounded integer; 7.

Source

pub const unsafe fn new_unchecked(n: i8) -> Self

Creates a bounded integer without checking the value.

§Safety

The value must not be outside the valid range of values; it must not be less than MIN_VALUE or greater than MAX_VALUE.

Source

pub const unsafe fn new_ref_unchecked(n: &i8) -> &Self

Creates a shared reference to a bounded integer from a shared reference to a primitive.

§Safety

The value must not be outside the valid range of values; it must not be less than MIN_VALUE or greater than MAX_VALUE.

Source

pub const unsafe fn new_mut_unchecked(n: &mut i8) -> &mut Self

Creates a mutable reference to a bounded integer from a mutable reference to a primitive.

§Safety

The value must not be outside the valid range of values; it must not be less than MIN_VALUE or greater than MAX_VALUE.

Source

pub const fn in_range(n: i8) -> bool

Checks whether the given value is in the range of the bounded integer.

Source

pub const fn new(n: i8) -> Option<Self>

Creates a bounded integer if the given value is within the range [MIN, MAX].

Source

pub const fn new_ref(n: &i8) -> Option<&Self>

Creates a reference to a bounded integer from a reference to a primitive if the given value is within the range [MIN, MAX].

Source

pub const fn new_mut(n: &mut i8) -> Option<&mut Self>

Creates a mutable reference to a bounded integer from a mutable reference to a primitive if the given value is within the range [MIN, MAX].

Source

pub const fn new_saturating(n: i8) -> Self

Creates a bounded integer by setting the value to MIN or MAX if it is too low or too high respectively.

Source

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

Converts a string slice in a given base to the bounded integer.

§Panics

Panics if radix is below 2 or above 36.

Source

pub const fn get(self) -> i8

Returns the value of the bounded integer as a primitive type.

Source

pub const fn get_ref(&self) -> &i8

Returns a shared reference to the value of the bounded integer.

Source

pub const unsafe fn get_mut(&mut self) -> &mut i8

Returns a mutable reference to the value of the bounded integer.

§Safety

This value must never be set to a value beyond the range of the bounded integer.

Source

pub const fn abs(self) -> Self

Computes the absolute value of self, panicking if it is out of range.

Source

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

Raises self to the power of exp, using exponentiation by squaring. Panics if it is out of range.

Source

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

Calculates the quotient of Euclidean division of self by rhs. Panics if rhs is 0 or the result is out of range.

Source

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

Calculates the least nonnegative remainder of self (mod rhs). Panics if rhs is 0 or the result is out of range.

Source

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

Checked integer addition.

Source

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

Saturating integer addition.

Source

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

Checked integer subtraction.

Source

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

Saturating integer subtraction.

Source

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

Checked integer multiplication.

Source

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

Saturating integer multiplication.

Source

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

Checked integer division.

Source

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

Checked Euclidean division.

Source

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

Checked integer remainder.

Source

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

Checked Euclidean remainder.

Source

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

Checked negation.

Source

pub const fn saturating_neg(self) -> Self

Saturating negation.

Source

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

Checked absolute value.

Source

pub const fn saturating_abs(self) -> Self

Saturating absolute value.

Source

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

Checked exponentiation.

Source

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

Saturating exponentiation.

Source

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

Checked shift left.

Source

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

Checked shift right.

Trait Implementations§

Source§

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

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the + operation. Read more
Source§

impl<'b> Add<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the + operation. Read more
Source§

impl<'b> Add<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'b> Add<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl<'a> AddAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn add_assign(&mut self, rhs: &'a BoundedEnum)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a BoundedEnum> for i8

Source§

fn add_assign(&mut self, rhs: &'a BoundedEnum)

Performs the += operation. Read more
Source§

impl<'a> AddAssign<&'a i8> for BoundedEnum

Source§

fn add_assign(&mut self, rhs: &'a i8)

Performs the += operation. Read more
Source§

impl AddAssign<BoundedEnum> for i8

Source§

fn add_assign(&mut self, rhs: BoundedEnum)

Performs the += operation. Read more
Source§

impl AddAssign<i8> for BoundedEnum

Source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
Source§

impl AddAssign for BoundedEnum

Source§

fn add_assign(&mut self, rhs: BoundedEnum)

Performs the += operation. Read more
Source§

impl<'a> Arbitrary<'a> for BoundedEnum

Source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
Source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
Source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
Source§

fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
Source§

impl AsRef<i8> for BoundedEnum

Source§

fn as_ref(&self) -> &i8

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Binary for BoundedEnum

Source§

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

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

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

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the & operation. Read more
Source§

impl<'a> BitAnd<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the & operation. Read more
Source§

impl<'b> BitAnd<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the & operation. Read more
Source§

impl<'b> BitAnd<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the & operation. Read more
Source§

impl<'a> BitAnd<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'a i8) -> Self::Output

Performs the & operation. Read more
Source§

impl<'b> BitAnd<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &'b i8) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl<'a> BitAndAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn bitand_assign(&mut self, rhs: &'a BoundedEnum)

Performs the &= operation. Read more
Source§

impl<'a> BitAndAssign<&'a BoundedEnum> for i8

Source§

fn bitand_assign(&mut self, rhs: &'a BoundedEnum)

Performs the &= operation. Read more
Source§

impl<'a> BitAndAssign<&'a i8> for BoundedEnum

Source§

fn bitand_assign(&mut self, rhs: &'a i8)

Performs the &= operation. Read more
Source§

impl BitAndAssign<BoundedEnum> for i8

Source§

fn bitand_assign(&mut self, rhs: BoundedEnum)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i8> for BoundedEnum

Source§

fn bitand_assign(&mut self, rhs: i8)

Performs the &= operation. Read more
Source§

impl BitAndAssign for BoundedEnum

Source§

fn bitand_assign(&mut self, rhs: BoundedEnum)

Performs the &= operation. Read more
Source§

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

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the | operation. Read more
Source§

impl<'a> BitOr<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the | operation. Read more
Source§

impl<'b> BitOr<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the | operation. Read more
Source§

impl<'b> BitOr<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the | operation. Read more
Source§

impl<'a> BitOr<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'a i8) -> Self::Output

Performs the | operation. Read more
Source§

impl<'b> BitOr<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &'b i8) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl<'a> BitOrAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn bitor_assign(&mut self, rhs: &'a BoundedEnum)

Performs the |= operation. Read more
Source§

impl<'a> BitOrAssign<&'a BoundedEnum> for i8

Source§

fn bitor_assign(&mut self, rhs: &'a BoundedEnum)

Performs the |= operation. Read more
Source§

impl<'a> BitOrAssign<&'a i8> for BoundedEnum

Source§

fn bitor_assign(&mut self, rhs: &'a i8)

Performs the |= operation. Read more
Source§

impl BitOrAssign<BoundedEnum> for i8

Source§

fn bitor_assign(&mut self, rhs: BoundedEnum)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i8> for BoundedEnum

Source§

fn bitor_assign(&mut self, rhs: i8)

Performs the |= operation. Read more
Source§

impl BitOrAssign for BoundedEnum

Source§

fn bitor_assign(&mut self, rhs: BoundedEnum)

Performs the |= operation. Read more
Source§

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

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXor<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'b> BitXor<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'b> BitXor<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXor<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'a i8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<'b> BitXor<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &'b i8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl<'a> BitXorAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)

Performs the ^= operation. Read more
Source§

impl<'a> BitXorAssign<&'a BoundedEnum> for i8

Source§

fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)

Performs the ^= operation. Read more
Source§

impl<'a> BitXorAssign<&'a i8> for BoundedEnum

Source§

fn bitxor_assign(&mut self, rhs: &'a i8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<BoundedEnum> for i8

Source§

fn bitxor_assign(&mut self, rhs: BoundedEnum)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i8> for BoundedEnum

Source§

fn bitxor_assign(&mut self, rhs: i8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for BoundedEnum

Source§

fn bitxor_assign(&mut self, rhs: BoundedEnum)

Performs the ^= operation. Read more
Source§

impl Borrow<i8> for BoundedEnum

Source§

fn borrow(&self) -> &i8

Immutably borrows from an owned value. Read more
Source§

impl Clone for BoundedEnum

Source§

fn clone(&self) -> BoundedEnum

Returns a copy 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 Contiguous for BoundedEnum

Source§

const MAX_VALUE: i8 = 7i8

The upper inclusive bound for valid instances of this type.
Source§

const MIN_VALUE: i8 = -8i8

The lower inclusive bound for valid instances of this type.
Source§

type Int = i8

The primitive integer type with an identical representation to this type. Read more
Source§

fn from_integer(value: Self::Int) -> Option<Self>

If value is within the range for valid instances of this type, returns Some(converted_value), otherwise, returns None. Read more
Source§

fn into_integer(self) -> Self::Int

Perform the conversion from C into the underlying integral type. This mostly exists otherwise generic code would need unsafe for the value as integer Read more
Source§

impl Debug for BoundedEnum

Source§

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

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

impl Default for BoundedEnum

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for BoundedEnum

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Self, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for BoundedEnum

Source§

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

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

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

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a> Div<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the / operation. Read more
Source§

impl<'b> Div<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the / operation. Read more
Source§

impl<'b> Div<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a> Div<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'a i8) -> Self::Output

Performs the / operation. Read more
Source§

impl<'b> Div<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &'b i8) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<'a> DivAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn div_assign(&mut self, rhs: &'a BoundedEnum)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a BoundedEnum> for i8

Source§

fn div_assign(&mut self, rhs: &'a BoundedEnum)

Performs the /= operation. Read more
Source§

impl<'a> DivAssign<&'a i8> for BoundedEnum

Source§

fn div_assign(&mut self, rhs: &'a i8)

Performs the /= operation. Read more
Source§

impl DivAssign<BoundedEnum> for i8

Source§

fn div_assign(&mut self, rhs: BoundedEnum)

Performs the /= operation. Read more
Source§

impl DivAssign<i8> for BoundedEnum

Source§

fn div_assign(&mut self, rhs: i8)

Performs the /= operation. Read more
Source§

impl DivAssign for BoundedEnum

Source§

fn div_assign(&mut self, rhs: BoundedEnum)

Performs the /= operation. Read more
Source§

impl From<BoundedEnum> for i128

Source§

fn from(bounded: BoundedEnum) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedEnum> for i16

Source§

fn from(bounded: BoundedEnum) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedEnum> for i32

Source§

fn from(bounded: BoundedEnum) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedEnum> for i64

Source§

fn from(bounded: BoundedEnum) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedEnum> for i8

Source§

fn from(bounded: BoundedEnum) -> Self

Converts to this type from the input type.
Source§

impl FromStr for BoundedEnum

Source§

type Err = ParseError

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 BoundedEnum

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 LowerExp for BoundedEnum

Source§

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

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

impl LowerHex for BoundedEnum

Source§

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

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

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

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the * operation. Read more
Source§

impl<'b> Mul<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the * operation. Read more
Source§

impl<'b> Mul<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'a i8) -> Self::Output

Performs the * operation. Read more
Source§

impl<'b> Mul<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &'b i8) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<'a> MulAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn mul_assign(&mut self, rhs: &'a BoundedEnum)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a BoundedEnum> for i8

Source§

fn mul_assign(&mut self, rhs: &'a BoundedEnum)

Performs the *= operation. Read more
Source§

impl<'a> MulAssign<&'a i8> for BoundedEnum

Source§

fn mul_assign(&mut self, rhs: &'a i8)

Performs the *= operation. Read more
Source§

impl MulAssign<BoundedEnum> for i8

Source§

fn mul_assign(&mut self, rhs: BoundedEnum)

Performs the *= operation. Read more
Source§

impl MulAssign<i8> for BoundedEnum

Source§

fn mul_assign(&mut self, rhs: i8)

Performs the *= operation. Read more
Source§

impl MulAssign for BoundedEnum

Source§

fn mul_assign(&mut self, rhs: BoundedEnum)

Performs the *= operation. Read more
Source§

impl Neg for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Not for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Not for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Octal for BoundedEnum

Source§

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

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

impl Ord for BoundedEnum

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn partial_cmp(&self, other: &i8) -> 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 BoundedEnum

Source§

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

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<'a> Product<&'a BoundedEnum> for i8

Source§

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

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

impl Product<BoundedEnum> for i8

Source§

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

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

impl Product for BoundedEnum

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<'a> Rem<&'a BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the % operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the % operation. Read more
Source§

impl<'b> Rem<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the % operation. Read more
Source§

impl<'b> Rem<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the % operation. Read more
Source§

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

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'a i8) -> Self::Output

Performs the % operation. Read more
Source§

impl<'b> Rem<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &'b i8) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl<'a> RemAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn rem_assign(&mut self, rhs: &'a BoundedEnum)

Performs the %= operation. Read more
Source§

impl<'a> RemAssign<&'a BoundedEnum> for i8

Source§

fn rem_assign(&mut self, rhs: &'a BoundedEnum)

Performs the %= operation. Read more
Source§

impl<'a> RemAssign<&'a i8> for BoundedEnum

Source§

fn rem_assign(&mut self, rhs: &'a i8)

Performs the %= operation. Read more
Source§

impl RemAssign<BoundedEnum> for i8

Source§

fn rem_assign(&mut self, rhs: BoundedEnum)

Performs the %= operation. Read more
Source§

impl RemAssign<i8> for BoundedEnum

Source§

fn rem_assign(&mut self, rhs: i8)

Performs the %= operation. Read more
Source§

impl RemAssign for BoundedEnum

Source§

fn rem_assign(&mut self, rhs: BoundedEnum)

Performs the %= operation. Read more
Source§

impl Serialize for BoundedEnum

Source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> Shl<&'a BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a BoundedEnum> for &i8

Source§

type Output = i8

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

fn shl(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl<'b> Shl<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl<'b> Shl<&'b BoundedEnum> for i8

Source§

type Output = i8

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

fn shl(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: &'a i8) -> Self::Output

Performs the << operation. Read more
Source§

impl<'b> Shl<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: &'b i8) -> Self::Output

Performs the << operation. Read more
Source§

impl Shl<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl Shl<BoundedEnum> for &i8

Source§

type Output = i8

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

fn shl(self, rhs: BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl Shl<BoundedEnum> for i8

Source§

type Output = i8

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

fn shl(self, rhs: BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl Shl<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

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

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

Performs the << operation. Read more
Source§

impl Shl<i8> for BoundedEnum

Source§

type Output = BoundedEnum

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

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

Performs the << operation. Read more
Source§

impl Shl for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shl(self, rhs: BoundedEnum) -> Self::Output

Performs the << operation. Read more
Source§

impl<'a> ShlAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn shl_assign(&mut self, rhs: &'a BoundedEnum)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a BoundedEnum> for i8

Source§

fn shl_assign(&mut self, rhs: &'a BoundedEnum)

Performs the <<= operation. Read more
Source§

impl<'a> ShlAssign<&'a i8> for BoundedEnum

Source§

fn shl_assign(&mut self, rhs: &'a i8)

Performs the <<= operation. Read more
Source§

impl ShlAssign<BoundedEnum> for i8

Source§

fn shl_assign(&mut self, rhs: BoundedEnum)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i8> for BoundedEnum

Source§

fn shl_assign(&mut self, rhs: i8)

Performs the <<= operation. Read more
Source§

impl ShlAssign for BoundedEnum

Source§

fn shl_assign(&mut self, rhs: BoundedEnum)

Performs the <<= operation. Read more
Source§

impl<'a> Shr<&'a BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a BoundedEnum> for &i8

Source§

type Output = i8

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

fn shr(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'b> Shr<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'b> Shr<&'b BoundedEnum> for i8

Source§

type Output = i8

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

fn shr(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: &'a i8) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'b> Shr<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: &'b i8) -> Self::Output

Performs the >> operation. Read more
Source§

impl Shr<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl Shr<BoundedEnum> for &i8

Source§

type Output = i8

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

fn shr(self, rhs: BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl Shr<BoundedEnum> for i8

Source§

type Output = i8

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

fn shr(self, rhs: BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl Shr<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

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

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

Performs the >> operation. Read more
Source§

impl Shr<i8> for BoundedEnum

Source§

type Output = BoundedEnum

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

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

Performs the >> operation. Read more
Source§

impl Shr for BoundedEnum

Source§

type Output = BoundedEnum

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

fn shr(self, rhs: BoundedEnum) -> Self::Output

Performs the >> operation. Read more
Source§

impl<'a> ShrAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn shr_assign(&mut self, rhs: &'a BoundedEnum)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a BoundedEnum> for i8

Source§

fn shr_assign(&mut self, rhs: &'a BoundedEnum)

Performs the >>= operation. Read more
Source§

impl<'a> ShrAssign<&'a i8> for BoundedEnum

Source§

fn shr_assign(&mut self, rhs: &'a i8)

Performs the >>= operation. Read more
Source§

impl ShrAssign<BoundedEnum> for i8

Source§

fn shr_assign(&mut self, rhs: BoundedEnum)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i8> for BoundedEnum

Source§

fn shr_assign(&mut self, rhs: i8)

Performs the >>= operation. Read more
Source§

impl ShrAssign for BoundedEnum

Source§

fn shr_assign(&mut self, rhs: BoundedEnum)

Performs the >>= operation. Read more
Source§

impl Step for BoundedEnum

Source§

fn steps_between(start: &Self, end: &Self) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (step_trait)
Returns the bounds on the number of successor steps required to get from start to end like Iterator::size_hint(). Read more
Source§

fn forward_checked(start: Self, count: usize) -> Option<Self>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
Source§

fn backward_checked(start: Self, count: usize) -> Option<Self>

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
Source§

fn forward(start: Self, count: usize) -> Self

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
Source§

unsafe fn forward_unchecked(start: Self, count: usize) -> Self

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the successor of self count times. Read more
Source§

fn backward(start: Self, count: usize) -> Self

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
Source§

unsafe fn backward_unchecked(start: Self, count: usize) -> Self

🔬This is a nightly-only experimental API. (step_trait)
Returns the value that would be obtained by taking the predecessor of self count times. Read more
Source§

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

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'a BoundedEnum) -> Self::Output

Performs the - operation. Read more
Source§

impl<'b> Sub<&'b BoundedEnum> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the - operation. Read more
Source§

impl<'b> Sub<&'b BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &'b BoundedEnum) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<&'a i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'b> Sub<&'b i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedEnum> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedEnum> for &i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedEnum> for i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i8> for &BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i8> for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for BoundedEnum

Source§

type Output = BoundedEnum

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl<'a> SubAssign<&'a BoundedEnum> for BoundedEnum

Source§

fn sub_assign(&mut self, rhs: &'a BoundedEnum)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a BoundedEnum> for i8

Source§

fn sub_assign(&mut self, rhs: &'a BoundedEnum)

Performs the -= operation. Read more
Source§

impl<'a> SubAssign<&'a i8> for BoundedEnum

Source§

fn sub_assign(&mut self, rhs: &'a i8)

Performs the -= operation. Read more
Source§

impl SubAssign<BoundedEnum> for i8

Source§

fn sub_assign(&mut self, rhs: BoundedEnum)

Performs the -= operation. Read more
Source§

impl SubAssign<i8> for BoundedEnum

Source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
Source§

impl SubAssign for BoundedEnum

Source§

fn sub_assign(&mut self, rhs: BoundedEnum)

Performs the -= operation. Read more
Source§

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

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<'a> Sum<&'a BoundedEnum> for i8

Source§

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

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

impl Sum<BoundedEnum> for i8

Source§

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

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

impl Sum for BoundedEnum

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 UpperExp for BoundedEnum

Source§

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

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

impl UpperHex for BoundedEnum

Source§

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

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

impl Zeroable for BoundedEnum

Source§

fn zeroed() -> Self

Source§

impl Copy for BoundedEnum

Source§

impl Eq for BoundedEnum

Source§

impl IntoBytes for BoundedEnum

Source§

impl StructuralPartialEq for BoundedEnum

Source§

impl Unaligned for BoundedEnum

Auto Trait Implementations§

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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T, Rhs> NumAssignOps<Rhs> for T
where T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

Source§

impl<T, Base> RefNum<Base> for T
where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,