#[repr(i8)]
pub enum BoundedEnum {
Show 16 variants N8, N7, N6, N5, N4, N3, N2, N1, Z, P1, P2, P3, P4, P5, P6, P7,
}
Expand description

A bounded enum.

This was generated from:

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

Variants§

§

N8

§

N7

§

N6

§

N5

§

N4

§

N3

§

N2

§

N1

§

Z

§

P1

§

P2

§

P3

§

P4

§

P5

§

P6

§

P7

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 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 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 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 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 fn get_ref(&self) -> &i8

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

source

pub 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

§

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

§

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

§

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

§

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

§

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<'b> Add<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn add_assign(&mut self, rhs: BoundedEnum)

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<'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§

impl AsBytes for BoundedEnum

source§

fn as_bytes(&self) -> &[u8]

Gets the bytes of this value. Read more
source§

fn write_to<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,

Writes a copy of self to bytes. Read more
source§

fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,

Writes a copy of self to the prefix of bytes. Read more
source§

fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,

Writes a copy of self to the suffix of bytes. 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.
source§

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

§

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

§

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

§

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

§

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

§

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<'b> BitAnd<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn bitand_assign(&mut self, rhs: BoundedEnum)

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

§

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

§

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

§

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

§

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

§

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<'b> BitOr<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn bitor_assign(&mut self, rhs: BoundedEnum)

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

§

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

§

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

§

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

§

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

§

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<'b> BitXor<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn bitxor_assign(&mut self, rhs: BoundedEnum)

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 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

§

type Int = i8

The primitive integer type with an identical representation to this type. Read more
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§

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

§

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

§

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

§

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

§

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

§

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<'b> Div<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn div_assign(&mut self, rhs: BoundedEnum)

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 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

§

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

impl LowerHex for BoundedEnum

source§

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

Formats the value using the given formatter.
source§

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

§

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

§

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

§

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

§

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

§

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<'b> Mul<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn mul_assign(&mut self, rhs: BoundedEnum)

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 Neg for &BoundedEnum

§

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

§

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

§

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

§

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.
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) -> Selfwhere Self: Sized,

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

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

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

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

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

impl PartialEq<BoundedEnum> for BoundedEnum

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BoundedEnum> for i8

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BoundedEnum> 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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
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

This method 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

This method 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

This method 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

This method 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

This method 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

This method 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

This method 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

This method 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

Method which 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

Method which takes an iterator and generates Self from the elements by multiplying the items.
source§

impl Product<BoundedEnum> for BoundedEnum

source§

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

Method which 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

Method which takes an iterator and generates Self from the elements by multiplying the items.
source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn rem_assign(&mut self, rhs: BoundedEnum)

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 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

§

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

§

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

§

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

§

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

§

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<'b> Shl<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn shl_assign(&mut self, rhs: BoundedEnum)

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

§

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

§

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

§

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

§

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

§

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<'b> Shr<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn shr_assign(&mut self, rhs: BoundedEnum)

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

source§

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

🔬This is a nightly-only experimental API. (step_trait)
Returns the number of successor steps required to get from start to end. 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

§

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

§

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

§

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

§

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

§

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<'b> Sub<&'b i8> for BoundedEnum

§

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

§

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

§

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 BoundedEnum

§

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

§

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

§

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

§

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<'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 BoundedEnum

source§

fn sub_assign(&mut self, rhs: BoundedEnum)

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

source§

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

Method which 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

Method which takes an iterator and generates Self from the elements by “summing up” the items.
source§

impl Sum<BoundedEnum> for BoundedEnum

source§

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

Method which 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

Method which 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.
source§

impl UpperHex for BoundedEnum

source§

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

Formats the value using the given formatter.
source§

impl Zeroable for BoundedEnum

source§

fn zeroed() -> Self

source§

impl Copy for BoundedEnum

source§

impl Eq for BoundedEnum

source§

impl StructuralEq for BoundedEnum

source§

impl StructuralPartialEq for BoundedEnum

source§

impl Unaligned for BoundedEnum

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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 Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

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

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

§

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 Twhere U: TryFrom<T>,

§

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 Twhere T: for<'de> Deserialize<'de>,

source§

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

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for Twhere 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 Twhere T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,