Enum bounded_integer::examples::BoundedEnum
source · #[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§
Implementations§
source§impl BoundedEnum
impl BoundedEnum
sourcepub const unsafe fn new_unchecked(n: i8) -> Self
pub const unsafe fn new_unchecked(n: i8) -> Self
sourcepub unsafe fn new_ref_unchecked(n: &i8) -> &Self
pub unsafe fn new_ref_unchecked(n: &i8) -> &Self
sourcepub unsafe fn new_mut_unchecked(n: &mut i8) -> &mut Self
pub unsafe fn new_mut_unchecked(n: &mut i8) -> &mut Self
sourcepub const fn in_range(n: i8) -> bool
pub const fn in_range(n: i8) -> bool
Checks whether the given value is in the range of the bounded integer.
sourcepub const fn new_saturating(n: i8) -> Self
pub const fn new_saturating(n: i8) -> Self
sourcepub fn from_str_radix(src: &str, radix: u32) -> Result<Self, ParseError>
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.
sourcepub unsafe fn get_mut(&mut self) -> &mut i8
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.
sourcepub const fn abs(self) -> Self
pub const fn abs(self) -> Self
Computes the absolute value of self
, panicking if it is out of range.
sourcepub const fn pow(self, exp: u32) -> Self
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.
sourcepub const fn div_euclid(self, rhs: i8) -> Self
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.
sourcepub const fn rem_euclid(self, rhs: i8) -> Self
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.
sourcepub const fn checked_add(self, rhs: i8) -> Option<Self>
pub const fn checked_add(self, rhs: i8) -> Option<Self>
Checked integer addition.
sourcepub const fn saturating_add(self, rhs: i8) -> Self
pub const fn saturating_add(self, rhs: i8) -> Self
Saturating integer addition.
sourcepub const fn checked_sub(self, rhs: i8) -> Option<Self>
pub const fn checked_sub(self, rhs: i8) -> Option<Self>
Checked integer subtraction.
sourcepub const fn saturating_sub(self, rhs: i8) -> Self
pub const fn saturating_sub(self, rhs: i8) -> Self
Saturating integer subtraction.
sourcepub const fn checked_mul(self, rhs: i8) -> Option<Self>
pub const fn checked_mul(self, rhs: i8) -> Option<Self>
Checked integer multiplication.
sourcepub const fn saturating_mul(self, rhs: i8) -> Self
pub const fn saturating_mul(self, rhs: i8) -> Self
Saturating integer multiplication.
sourcepub const fn checked_div(self, rhs: i8) -> Option<Self>
pub const fn checked_div(self, rhs: i8) -> Option<Self>
Checked integer division.
sourcepub const fn checked_div_euclid(self, rhs: i8) -> Option<Self>
pub const fn checked_div_euclid(self, rhs: i8) -> Option<Self>
Checked Euclidean division.
sourcepub const fn checked_rem(self, rhs: i8) -> Option<Self>
pub const fn checked_rem(self, rhs: i8) -> Option<Self>
Checked integer remainder.
sourcepub const fn checked_rem_euclid(self, rhs: i8) -> Option<Self>
pub const fn checked_rem_euclid(self, rhs: i8) -> Option<Self>
Checked Euclidean remainder.
sourcepub const fn checked_neg(self) -> Option<Self>
pub const fn checked_neg(self) -> Option<Self>
Checked negation.
sourcepub const fn saturating_neg(self) -> Self
pub const fn saturating_neg(self) -> Self
Saturating negation.
sourcepub const fn checked_abs(self) -> Option<Self>
pub const fn checked_abs(self) -> Option<Self>
Checked absolute value.
sourcepub const fn saturating_abs(self) -> Self
pub const fn saturating_abs(self) -> Self
Saturating absolute value.
sourcepub const fn checked_pow(self, rhs: u32) -> Option<Self>
pub const fn checked_pow(self, rhs: u32) -> Option<Self>
Checked exponentiation.
sourcepub const fn saturating_pow(self, rhs: u32) -> Self
pub const fn saturating_pow(self, rhs: u32) -> Self
Saturating exponentiation.
sourcepub const fn checked_shl(self, rhs: u32) -> Option<Self>
pub const fn checked_shl(self, rhs: u32) -> Option<Self>
Checked shift left.
sourcepub const fn checked_shr(self, rhs: u32) -> Option<Self>
pub const fn checked_shr(self, rhs: u32) -> Option<Self>
Checked shift right.
Trait Implementations§
source§impl<'a> Add<&'a BoundedEnum> for &BoundedEnum
impl<'a> Add<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
+
operator.source§impl<'a> Add<&'a BoundedEnum> for &i8
impl<'a> Add<&'a BoundedEnum> for &i8
source§impl<'a> Add<&'a i8> for &BoundedEnum
impl<'a> Add<&'a i8> for &BoundedEnum
source§impl<'b> Add<&'b BoundedEnum> for BoundedEnum
impl<'b> Add<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
+
operator.source§impl<'b> Add<&'b BoundedEnum> for i8
impl<'b> Add<&'b BoundedEnum> for i8
source§impl<'b> Add<&'b i8> for BoundedEnum
impl<'b> Add<&'b i8> for BoundedEnum
source§impl Add<BoundedEnum> for &BoundedEnum
impl Add<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
+
operator.source§impl Add<BoundedEnum> for &i8
impl Add<BoundedEnum> for &i8
source§impl Add<BoundedEnum> for BoundedEnum
impl Add<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
+
operator.source§impl Add<BoundedEnum> for i8
impl Add<BoundedEnum> for i8
source§impl Add<i8> for &BoundedEnum
impl Add<i8> for &BoundedEnum
source§impl Add<i8> for BoundedEnum
impl Add<i8> for BoundedEnum
source§impl<'a> AddAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> AddAssign<&'a BoundedEnum> for BoundedEnum
source§fn add_assign(&mut self, rhs: &'a BoundedEnum)
fn add_assign(&mut self, rhs: &'a BoundedEnum)
+=
operation. Read moresource§impl<'a> AddAssign<&'a BoundedEnum> for i8
impl<'a> AddAssign<&'a BoundedEnum> for i8
source§fn add_assign(&mut self, rhs: &'a BoundedEnum)
fn add_assign(&mut self, rhs: &'a BoundedEnum)
+=
operation. Read moresource§impl<'a> AddAssign<&'a i8> for BoundedEnum
impl<'a> AddAssign<&'a i8> for BoundedEnum
source§fn add_assign(&mut self, rhs: &'a i8)
fn add_assign(&mut self, rhs: &'a i8)
+=
operation. Read moresource§impl AddAssign<BoundedEnum> for BoundedEnum
impl AddAssign<BoundedEnum> for BoundedEnum
source§fn add_assign(&mut self, rhs: BoundedEnum)
fn add_assign(&mut self, rhs: BoundedEnum)
+=
operation. Read moresource§impl AddAssign<BoundedEnum> for i8
impl AddAssign<BoundedEnum> for i8
source§fn add_assign(&mut self, rhs: BoundedEnum)
fn add_assign(&mut self, rhs: BoundedEnum)
+=
operation. Read moresource§impl AddAssign<i8> for BoundedEnum
impl AddAssign<i8> for BoundedEnum
source§fn add_assign(&mut self, rhs: i8)
fn add_assign(&mut self, rhs: i8)
+=
operation. Read moresource§impl<'a> Arbitrary<'a> for BoundedEnum
impl<'a> Arbitrary<'a> for BoundedEnum
source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured
this type
needs to construct itself. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Self
from the entirety of the given
unstructured data. Read moresource§impl AsBytes for BoundedEnum
impl AsBytes for BoundedEnum
source§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
source§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
source§impl AsRef<i8> for BoundedEnum
impl AsRef<i8> for BoundedEnum
source§impl Binary for BoundedEnum
impl Binary for BoundedEnum
source§impl<'a> BitAnd<&'a BoundedEnum> for &BoundedEnum
impl<'a> BitAnd<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
&
operator.source§impl<'a> BitAnd<&'a BoundedEnum> for &i8
impl<'a> BitAnd<&'a BoundedEnum> for &i8
source§impl<'a> BitAnd<&'a i8> for &BoundedEnum
impl<'a> BitAnd<&'a i8> for &BoundedEnum
source§impl<'b> BitAnd<&'b BoundedEnum> for BoundedEnum
impl<'b> BitAnd<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
&
operator.source§impl<'b> BitAnd<&'b BoundedEnum> for i8
impl<'b> BitAnd<&'b BoundedEnum> for i8
source§impl<'b> BitAnd<&'b i8> for BoundedEnum
impl<'b> BitAnd<&'b i8> for BoundedEnum
source§impl BitAnd<BoundedEnum> for &BoundedEnum
impl BitAnd<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
&
operator.source§impl BitAnd<BoundedEnum> for &i8
impl BitAnd<BoundedEnum> for &i8
source§impl BitAnd<BoundedEnum> for BoundedEnum
impl BitAnd<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
&
operator.source§impl BitAnd<BoundedEnum> for i8
impl BitAnd<BoundedEnum> for i8
source§impl BitAnd<i8> for &BoundedEnum
impl BitAnd<i8> for &BoundedEnum
source§impl BitAnd<i8> for BoundedEnum
impl BitAnd<i8> for BoundedEnum
source§impl<'a> BitAndAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> BitAndAssign<&'a BoundedEnum> for BoundedEnum
source§fn bitand_assign(&mut self, rhs: &'a BoundedEnum)
fn bitand_assign(&mut self, rhs: &'a BoundedEnum)
&=
operation. Read moresource§impl<'a> BitAndAssign<&'a BoundedEnum> for i8
impl<'a> BitAndAssign<&'a BoundedEnum> for i8
source§fn bitand_assign(&mut self, rhs: &'a BoundedEnum)
fn bitand_assign(&mut self, rhs: &'a BoundedEnum)
&=
operation. Read moresource§impl<'a> BitAndAssign<&'a i8> for BoundedEnum
impl<'a> BitAndAssign<&'a i8> for BoundedEnum
source§fn bitand_assign(&mut self, rhs: &'a i8)
fn bitand_assign(&mut self, rhs: &'a i8)
&=
operation. Read moresource§impl BitAndAssign<BoundedEnum> for BoundedEnum
impl BitAndAssign<BoundedEnum> for BoundedEnum
source§fn bitand_assign(&mut self, rhs: BoundedEnum)
fn bitand_assign(&mut self, rhs: BoundedEnum)
&=
operation. Read moresource§impl BitAndAssign<BoundedEnum> for i8
impl BitAndAssign<BoundedEnum> for i8
source§fn bitand_assign(&mut self, rhs: BoundedEnum)
fn bitand_assign(&mut self, rhs: BoundedEnum)
&=
operation. Read moresource§impl BitAndAssign<i8> for BoundedEnum
impl BitAndAssign<i8> for BoundedEnum
source§fn bitand_assign(&mut self, rhs: i8)
fn bitand_assign(&mut self, rhs: i8)
&=
operation. Read moresource§impl<'a> BitOr<&'a BoundedEnum> for &BoundedEnum
impl<'a> BitOr<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
|
operator.source§impl<'a> BitOr<&'a BoundedEnum> for &i8
impl<'a> BitOr<&'a BoundedEnum> for &i8
source§impl<'a> BitOr<&'a i8> for &BoundedEnum
impl<'a> BitOr<&'a i8> for &BoundedEnum
source§impl<'b> BitOr<&'b BoundedEnum> for BoundedEnum
impl<'b> BitOr<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
|
operator.source§impl<'b> BitOr<&'b BoundedEnum> for i8
impl<'b> BitOr<&'b BoundedEnum> for i8
source§impl<'b> BitOr<&'b i8> for BoundedEnum
impl<'b> BitOr<&'b i8> for BoundedEnum
source§impl BitOr<BoundedEnum> for &BoundedEnum
impl BitOr<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
|
operator.source§impl BitOr<BoundedEnum> for &i8
impl BitOr<BoundedEnum> for &i8
source§impl BitOr<BoundedEnum> for BoundedEnum
impl BitOr<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
|
operator.source§impl BitOr<BoundedEnum> for i8
impl BitOr<BoundedEnum> for i8
source§impl BitOr<i8> for &BoundedEnum
impl BitOr<i8> for &BoundedEnum
source§impl BitOr<i8> for BoundedEnum
impl BitOr<i8> for BoundedEnum
source§impl<'a> BitOrAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> BitOrAssign<&'a BoundedEnum> for BoundedEnum
source§fn bitor_assign(&mut self, rhs: &'a BoundedEnum)
fn bitor_assign(&mut self, rhs: &'a BoundedEnum)
|=
operation. Read moresource§impl<'a> BitOrAssign<&'a BoundedEnum> for i8
impl<'a> BitOrAssign<&'a BoundedEnum> for i8
source§fn bitor_assign(&mut self, rhs: &'a BoundedEnum)
fn bitor_assign(&mut self, rhs: &'a BoundedEnum)
|=
operation. Read moresource§impl<'a> BitOrAssign<&'a i8> for BoundedEnum
impl<'a> BitOrAssign<&'a i8> for BoundedEnum
source§fn bitor_assign(&mut self, rhs: &'a i8)
fn bitor_assign(&mut self, rhs: &'a i8)
|=
operation. Read moresource§impl BitOrAssign<BoundedEnum> for BoundedEnum
impl BitOrAssign<BoundedEnum> for BoundedEnum
source§fn bitor_assign(&mut self, rhs: BoundedEnum)
fn bitor_assign(&mut self, rhs: BoundedEnum)
|=
operation. Read moresource§impl BitOrAssign<BoundedEnum> for i8
impl BitOrAssign<BoundedEnum> for i8
source§fn bitor_assign(&mut self, rhs: BoundedEnum)
fn bitor_assign(&mut self, rhs: BoundedEnum)
|=
operation. Read moresource§impl BitOrAssign<i8> for BoundedEnum
impl BitOrAssign<i8> for BoundedEnum
source§fn bitor_assign(&mut self, rhs: i8)
fn bitor_assign(&mut self, rhs: i8)
|=
operation. Read moresource§impl<'a> BitXor<&'a BoundedEnum> for &BoundedEnum
impl<'a> BitXor<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
^
operator.source§impl<'a> BitXor<&'a BoundedEnum> for &i8
impl<'a> BitXor<&'a BoundedEnum> for &i8
source§impl<'a> BitXor<&'a i8> for &BoundedEnum
impl<'a> BitXor<&'a i8> for &BoundedEnum
source§impl<'b> BitXor<&'b BoundedEnum> for BoundedEnum
impl<'b> BitXor<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
^
operator.source§impl<'b> BitXor<&'b BoundedEnum> for i8
impl<'b> BitXor<&'b BoundedEnum> for i8
source§impl<'b> BitXor<&'b i8> for BoundedEnum
impl<'b> BitXor<&'b i8> for BoundedEnum
source§impl BitXor<BoundedEnum> for &BoundedEnum
impl BitXor<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
^
operator.source§impl BitXor<BoundedEnum> for &i8
impl BitXor<BoundedEnum> for &i8
source§impl BitXor<BoundedEnum> for BoundedEnum
impl BitXor<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
^
operator.source§impl BitXor<BoundedEnum> for i8
impl BitXor<BoundedEnum> for i8
source§impl BitXor<i8> for &BoundedEnum
impl BitXor<i8> for &BoundedEnum
source§impl BitXor<i8> for BoundedEnum
impl BitXor<i8> for BoundedEnum
source§impl<'a> BitXorAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> BitXorAssign<&'a BoundedEnum> for BoundedEnum
source§fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)
fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)
^=
operation. Read moresource§impl<'a> BitXorAssign<&'a BoundedEnum> for i8
impl<'a> BitXorAssign<&'a BoundedEnum> for i8
source§fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)
fn bitxor_assign(&mut self, rhs: &'a BoundedEnum)
^=
operation. Read moresource§impl<'a> BitXorAssign<&'a i8> for BoundedEnum
impl<'a> BitXorAssign<&'a i8> for BoundedEnum
source§fn bitxor_assign(&mut self, rhs: &'a i8)
fn bitxor_assign(&mut self, rhs: &'a i8)
^=
operation. Read moresource§impl BitXorAssign<BoundedEnum> for BoundedEnum
impl BitXorAssign<BoundedEnum> for BoundedEnum
source§fn bitxor_assign(&mut self, rhs: BoundedEnum)
fn bitxor_assign(&mut self, rhs: BoundedEnum)
^=
operation. Read moresource§impl BitXorAssign<BoundedEnum> for i8
impl BitXorAssign<BoundedEnum> for i8
source§fn bitxor_assign(&mut self, rhs: BoundedEnum)
fn bitxor_assign(&mut self, rhs: BoundedEnum)
^=
operation. Read moresource§impl BitXorAssign<i8> for BoundedEnum
impl BitXorAssign<i8> for BoundedEnum
source§fn bitxor_assign(&mut self, rhs: i8)
fn bitxor_assign(&mut self, rhs: i8)
^=
operation. Read moresource§impl Borrow<i8> for BoundedEnum
impl Borrow<i8> for BoundedEnum
source§impl Clone for BoundedEnum
impl Clone for BoundedEnum
source§fn clone(&self) -> BoundedEnum
fn clone(&self) -> BoundedEnum
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Contiguous for BoundedEnum
impl Contiguous for BoundedEnum
source§fn from_integer(value: Self::Int) -> Option<Self>
fn from_integer(value: Self::Int) -> Option<Self>
value
is within the range for valid instances of this type,
returns Some(converted_value)
, otherwise, returns None
. Read moresource§fn into_integer(self) -> Self::Int
fn into_integer(self) -> Self::Int
C
into the underlying integral type. This
mostly exists otherwise generic code would need unsafe for the value as integer
Read moresource§impl Debug for BoundedEnum
impl Debug for BoundedEnum
source§impl Default for BoundedEnum
impl Default for BoundedEnum
source§impl<'de> Deserialize<'de> for BoundedEnum
impl<'de> Deserialize<'de> for BoundedEnum
source§fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<Self, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl Display for BoundedEnum
impl Display for BoundedEnum
source§impl<'a> Div<&'a BoundedEnum> for &BoundedEnum
impl<'a> Div<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
/
operator.source§impl<'a> Div<&'a BoundedEnum> for &i8
impl<'a> Div<&'a BoundedEnum> for &i8
source§impl<'a> Div<&'a i8> for &BoundedEnum
impl<'a> Div<&'a i8> for &BoundedEnum
source§impl<'b> Div<&'b BoundedEnum> for BoundedEnum
impl<'b> Div<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
/
operator.source§impl<'b> Div<&'b BoundedEnum> for i8
impl<'b> Div<&'b BoundedEnum> for i8
source§impl<'b> Div<&'b i8> for BoundedEnum
impl<'b> Div<&'b i8> for BoundedEnum
source§impl Div<BoundedEnum> for &BoundedEnum
impl Div<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
/
operator.source§impl Div<BoundedEnum> for &i8
impl Div<BoundedEnum> for &i8
source§impl Div<BoundedEnum> for BoundedEnum
impl Div<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
/
operator.source§impl Div<BoundedEnum> for i8
impl Div<BoundedEnum> for i8
source§impl Div<i8> for &BoundedEnum
impl Div<i8> for &BoundedEnum
source§impl Div<i8> for BoundedEnum
impl Div<i8> for BoundedEnum
source§impl<'a> DivAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> DivAssign<&'a BoundedEnum> for BoundedEnum
source§fn div_assign(&mut self, rhs: &'a BoundedEnum)
fn div_assign(&mut self, rhs: &'a BoundedEnum)
/=
operation. Read moresource§impl<'a> DivAssign<&'a BoundedEnum> for i8
impl<'a> DivAssign<&'a BoundedEnum> for i8
source§fn div_assign(&mut self, rhs: &'a BoundedEnum)
fn div_assign(&mut self, rhs: &'a BoundedEnum)
/=
operation. Read moresource§impl<'a> DivAssign<&'a i8> for BoundedEnum
impl<'a> DivAssign<&'a i8> for BoundedEnum
source§fn div_assign(&mut self, rhs: &'a i8)
fn div_assign(&mut self, rhs: &'a i8)
/=
operation. Read moresource§impl DivAssign<BoundedEnum> for BoundedEnum
impl DivAssign<BoundedEnum> for BoundedEnum
source§fn div_assign(&mut self, rhs: BoundedEnum)
fn div_assign(&mut self, rhs: BoundedEnum)
/=
operation. Read moresource§impl DivAssign<BoundedEnum> for i8
impl DivAssign<BoundedEnum> for i8
source§fn div_assign(&mut self, rhs: BoundedEnum)
fn div_assign(&mut self, rhs: BoundedEnum)
/=
operation. Read moresource§impl DivAssign<i8> for BoundedEnum
impl DivAssign<i8> for BoundedEnum
source§fn div_assign(&mut self, rhs: i8)
fn div_assign(&mut self, rhs: i8)
/=
operation. Read moresource§impl From<BoundedEnum> for i128
impl From<BoundedEnum> for i128
source§fn from(bounded: BoundedEnum) -> Self
fn from(bounded: BoundedEnum) -> Self
source§impl From<BoundedEnum> for i16
impl From<BoundedEnum> for i16
source§fn from(bounded: BoundedEnum) -> Self
fn from(bounded: BoundedEnum) -> Self
source§impl From<BoundedEnum> for i32
impl From<BoundedEnum> for i32
source§fn from(bounded: BoundedEnum) -> Self
fn from(bounded: BoundedEnum) -> Self
source§impl From<BoundedEnum> for i64
impl From<BoundedEnum> for i64
source§fn from(bounded: BoundedEnum) -> Self
fn from(bounded: BoundedEnum) -> Self
source§impl From<BoundedEnum> for i8
impl From<BoundedEnum> for i8
source§fn from(bounded: BoundedEnum) -> Self
fn from(bounded: BoundedEnum) -> Self
source§impl FromStr for BoundedEnum
impl FromStr for BoundedEnum
source§impl Hash for BoundedEnum
impl Hash for BoundedEnum
source§impl LowerExp for BoundedEnum
impl LowerExp for BoundedEnum
source§impl LowerHex for BoundedEnum
impl LowerHex for BoundedEnum
source§impl<'a> Mul<&'a BoundedEnum> for &BoundedEnum
impl<'a> Mul<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
*
operator.source§impl<'a> Mul<&'a BoundedEnum> for &i8
impl<'a> Mul<&'a BoundedEnum> for &i8
source§impl<'a> Mul<&'a i8> for &BoundedEnum
impl<'a> Mul<&'a i8> for &BoundedEnum
source§impl<'b> Mul<&'b BoundedEnum> for BoundedEnum
impl<'b> Mul<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
*
operator.source§impl<'b> Mul<&'b BoundedEnum> for i8
impl<'b> Mul<&'b BoundedEnum> for i8
source§impl<'b> Mul<&'b i8> for BoundedEnum
impl<'b> Mul<&'b i8> for BoundedEnum
source§impl Mul<BoundedEnum> for &BoundedEnum
impl Mul<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
*
operator.source§impl Mul<BoundedEnum> for &i8
impl Mul<BoundedEnum> for &i8
source§impl Mul<BoundedEnum> for BoundedEnum
impl Mul<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
*
operator.source§impl Mul<BoundedEnum> for i8
impl Mul<BoundedEnum> for i8
source§impl Mul<i8> for &BoundedEnum
impl Mul<i8> for &BoundedEnum
source§impl Mul<i8> for BoundedEnum
impl Mul<i8> for BoundedEnum
source§impl<'a> MulAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> MulAssign<&'a BoundedEnum> for BoundedEnum
source§fn mul_assign(&mut self, rhs: &'a BoundedEnum)
fn mul_assign(&mut self, rhs: &'a BoundedEnum)
*=
operation. Read moresource§impl<'a> MulAssign<&'a BoundedEnum> for i8
impl<'a> MulAssign<&'a BoundedEnum> for i8
source§fn mul_assign(&mut self, rhs: &'a BoundedEnum)
fn mul_assign(&mut self, rhs: &'a BoundedEnum)
*=
operation. Read moresource§impl<'a> MulAssign<&'a i8> for BoundedEnum
impl<'a> MulAssign<&'a i8> for BoundedEnum
source§fn mul_assign(&mut self, rhs: &'a i8)
fn mul_assign(&mut self, rhs: &'a i8)
*=
operation. Read moresource§impl MulAssign<BoundedEnum> for BoundedEnum
impl MulAssign<BoundedEnum> for BoundedEnum
source§fn mul_assign(&mut self, rhs: BoundedEnum)
fn mul_assign(&mut self, rhs: BoundedEnum)
*=
operation. Read moresource§impl MulAssign<BoundedEnum> for i8
impl MulAssign<BoundedEnum> for i8
source§fn mul_assign(&mut self, rhs: BoundedEnum)
fn mul_assign(&mut self, rhs: BoundedEnum)
*=
operation. Read moresource§impl MulAssign<i8> for BoundedEnum
impl MulAssign<i8> for BoundedEnum
source§fn mul_assign(&mut self, rhs: i8)
fn mul_assign(&mut self, rhs: i8)
*=
operation. Read moresource§impl Neg for &BoundedEnum
impl Neg for &BoundedEnum
source§impl Neg for BoundedEnum
impl Neg for BoundedEnum
source§impl Not for &BoundedEnum
impl Not for &BoundedEnum
source§impl Not for BoundedEnum
impl Not for BoundedEnum
source§impl Octal for BoundedEnum
impl Octal for BoundedEnum
source§impl Ord for BoundedEnum
impl Ord for BoundedEnum
source§fn cmp(&self, other: &BoundedEnum) -> Ordering
fn cmp(&self, other: &BoundedEnum) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<BoundedEnum> for BoundedEnum
impl PartialEq<BoundedEnum> for BoundedEnum
source§fn eq(&self, other: &BoundedEnum) -> bool
fn eq(&self, other: &BoundedEnum) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<BoundedEnum> for i8
impl PartialEq<BoundedEnum> for i8
source§fn eq(&self, other: &BoundedEnum) -> bool
fn eq(&self, other: &BoundedEnum) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<i8> for BoundedEnum
impl PartialEq<i8> for BoundedEnum
source§impl PartialOrd<BoundedEnum> for BoundedEnum
impl PartialOrd<BoundedEnum> for BoundedEnum
source§fn partial_cmp(&self, other: &BoundedEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundedEnum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<BoundedEnum> for i8
impl PartialOrd<BoundedEnum> for i8
source§fn partial_cmp(&self, other: &BoundedEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundedEnum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<i8> for BoundedEnum
impl PartialOrd<i8> for BoundedEnum
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> Product<&'a BoundedEnum> for BoundedEnum
impl<'a> Product<&'a BoundedEnum> for BoundedEnum
source§impl<'a> Product<&'a BoundedEnum> for i8
impl<'a> Product<&'a BoundedEnum> for i8
source§fn product<I: Iterator<Item = &'a BoundedEnum>>(iter: I) -> Self
fn product<I: Iterator<Item = &'a BoundedEnum>>(iter: I) -> Self
Self
from the elements by
multiplying the items.source§impl Product<BoundedEnum> for BoundedEnum
impl Product<BoundedEnum> for BoundedEnum
source§impl Product<BoundedEnum> for i8
impl Product<BoundedEnum> for i8
source§fn product<I: Iterator<Item = BoundedEnum>>(iter: I) -> Self
fn product<I: Iterator<Item = BoundedEnum>>(iter: I) -> Self
Self
from the elements by
multiplying the items.source§impl<'a> Rem<&'a BoundedEnum> for &BoundedEnum
impl<'a> Rem<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
%
operator.source§impl<'a> Rem<&'a BoundedEnum> for &i8
impl<'a> Rem<&'a BoundedEnum> for &i8
source§impl<'a> Rem<&'a i8> for &BoundedEnum
impl<'a> Rem<&'a i8> for &BoundedEnum
source§impl<'b> Rem<&'b BoundedEnum> for BoundedEnum
impl<'b> Rem<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
%
operator.source§impl<'b> Rem<&'b BoundedEnum> for i8
impl<'b> Rem<&'b BoundedEnum> for i8
source§impl<'b> Rem<&'b i8> for BoundedEnum
impl<'b> Rem<&'b i8> for BoundedEnum
source§impl Rem<BoundedEnum> for &BoundedEnum
impl Rem<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
%
operator.source§impl Rem<BoundedEnum> for &i8
impl Rem<BoundedEnum> for &i8
source§impl Rem<BoundedEnum> for BoundedEnum
impl Rem<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
%
operator.source§impl Rem<BoundedEnum> for i8
impl Rem<BoundedEnum> for i8
source§impl Rem<i8> for &BoundedEnum
impl Rem<i8> for &BoundedEnum
source§impl Rem<i8> for BoundedEnum
impl Rem<i8> for BoundedEnum
source§impl<'a> RemAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> RemAssign<&'a BoundedEnum> for BoundedEnum
source§fn rem_assign(&mut self, rhs: &'a BoundedEnum)
fn rem_assign(&mut self, rhs: &'a BoundedEnum)
%=
operation. Read moresource§impl<'a> RemAssign<&'a BoundedEnum> for i8
impl<'a> RemAssign<&'a BoundedEnum> for i8
source§fn rem_assign(&mut self, rhs: &'a BoundedEnum)
fn rem_assign(&mut self, rhs: &'a BoundedEnum)
%=
operation. Read moresource§impl<'a> RemAssign<&'a i8> for BoundedEnum
impl<'a> RemAssign<&'a i8> for BoundedEnum
source§fn rem_assign(&mut self, rhs: &'a i8)
fn rem_assign(&mut self, rhs: &'a i8)
%=
operation. Read moresource§impl RemAssign<BoundedEnum> for BoundedEnum
impl RemAssign<BoundedEnum> for BoundedEnum
source§fn rem_assign(&mut self, rhs: BoundedEnum)
fn rem_assign(&mut self, rhs: BoundedEnum)
%=
operation. Read moresource§impl RemAssign<BoundedEnum> for i8
impl RemAssign<BoundedEnum> for i8
source§fn rem_assign(&mut self, rhs: BoundedEnum)
fn rem_assign(&mut self, rhs: BoundedEnum)
%=
operation. Read moresource§impl RemAssign<i8> for BoundedEnum
impl RemAssign<i8> for BoundedEnum
source§fn rem_assign(&mut self, rhs: i8)
fn rem_assign(&mut self, rhs: i8)
%=
operation. Read moresource§impl Serialize for BoundedEnum
impl Serialize for BoundedEnum
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<'a> Shl<&'a BoundedEnum> for &BoundedEnum
impl<'a> Shl<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
<<
operator.source§impl<'a> Shl<&'a BoundedEnum> for &i8
impl<'a> Shl<&'a BoundedEnum> for &i8
source§impl<'a> Shl<&'a i8> for &BoundedEnum
impl<'a> Shl<&'a i8> for &BoundedEnum
source§impl<'b> Shl<&'b BoundedEnum> for BoundedEnum
impl<'b> Shl<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
<<
operator.source§impl<'b> Shl<&'b BoundedEnum> for i8
impl<'b> Shl<&'b BoundedEnum> for i8
source§impl<'b> Shl<&'b i8> for BoundedEnum
impl<'b> Shl<&'b i8> for BoundedEnum
source§impl Shl<BoundedEnum> for &BoundedEnum
impl Shl<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
<<
operator.source§impl Shl<BoundedEnum> for &i8
impl Shl<BoundedEnum> for &i8
source§impl Shl<BoundedEnum> for BoundedEnum
impl Shl<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
<<
operator.source§impl Shl<BoundedEnum> for i8
impl Shl<BoundedEnum> for i8
source§impl Shl<i8> for &BoundedEnum
impl Shl<i8> for &BoundedEnum
source§impl Shl<i8> for BoundedEnum
impl Shl<i8> for BoundedEnum
source§impl<'a> ShlAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> ShlAssign<&'a BoundedEnum> for BoundedEnum
source§fn shl_assign(&mut self, rhs: &'a BoundedEnum)
fn shl_assign(&mut self, rhs: &'a BoundedEnum)
<<=
operation. Read moresource§impl<'a> ShlAssign<&'a BoundedEnum> for i8
impl<'a> ShlAssign<&'a BoundedEnum> for i8
source§fn shl_assign(&mut self, rhs: &'a BoundedEnum)
fn shl_assign(&mut self, rhs: &'a BoundedEnum)
<<=
operation. Read moresource§impl<'a> ShlAssign<&'a i8> for BoundedEnum
impl<'a> ShlAssign<&'a i8> for BoundedEnum
source§fn shl_assign(&mut self, rhs: &'a i8)
fn shl_assign(&mut self, rhs: &'a i8)
<<=
operation. Read moresource§impl ShlAssign<BoundedEnum> for BoundedEnum
impl ShlAssign<BoundedEnum> for BoundedEnum
source§fn shl_assign(&mut self, rhs: BoundedEnum)
fn shl_assign(&mut self, rhs: BoundedEnum)
<<=
operation. Read moresource§impl ShlAssign<BoundedEnum> for i8
impl ShlAssign<BoundedEnum> for i8
source§fn shl_assign(&mut self, rhs: BoundedEnum)
fn shl_assign(&mut self, rhs: BoundedEnum)
<<=
operation. Read moresource§impl ShlAssign<i8> for BoundedEnum
impl ShlAssign<i8> for BoundedEnum
source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moresource§impl<'a> Shr<&'a BoundedEnum> for &BoundedEnum
impl<'a> Shr<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
>>
operator.source§impl<'a> Shr<&'a BoundedEnum> for &i8
impl<'a> Shr<&'a BoundedEnum> for &i8
source§impl<'a> Shr<&'a i8> for &BoundedEnum
impl<'a> Shr<&'a i8> for &BoundedEnum
source§impl<'b> Shr<&'b BoundedEnum> for BoundedEnum
impl<'b> Shr<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
>>
operator.source§impl<'b> Shr<&'b BoundedEnum> for i8
impl<'b> Shr<&'b BoundedEnum> for i8
source§impl<'b> Shr<&'b i8> for BoundedEnum
impl<'b> Shr<&'b i8> for BoundedEnum
source§impl Shr<BoundedEnum> for &BoundedEnum
impl Shr<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
>>
operator.source§impl Shr<BoundedEnum> for &i8
impl Shr<BoundedEnum> for &i8
source§impl Shr<BoundedEnum> for BoundedEnum
impl Shr<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
>>
operator.source§impl Shr<BoundedEnum> for i8
impl Shr<BoundedEnum> for i8
source§impl Shr<i8> for &BoundedEnum
impl Shr<i8> for &BoundedEnum
source§impl Shr<i8> for BoundedEnum
impl Shr<i8> for BoundedEnum
source§impl<'a> ShrAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> ShrAssign<&'a BoundedEnum> for BoundedEnum
source§fn shr_assign(&mut self, rhs: &'a BoundedEnum)
fn shr_assign(&mut self, rhs: &'a BoundedEnum)
>>=
operation. Read moresource§impl<'a> ShrAssign<&'a BoundedEnum> for i8
impl<'a> ShrAssign<&'a BoundedEnum> for i8
source§fn shr_assign(&mut self, rhs: &'a BoundedEnum)
fn shr_assign(&mut self, rhs: &'a BoundedEnum)
>>=
operation. Read moresource§impl<'a> ShrAssign<&'a i8> for BoundedEnum
impl<'a> ShrAssign<&'a i8> for BoundedEnum
source§fn shr_assign(&mut self, rhs: &'a i8)
fn shr_assign(&mut self, rhs: &'a i8)
>>=
operation. Read moresource§impl ShrAssign<BoundedEnum> for BoundedEnum
impl ShrAssign<BoundedEnum> for BoundedEnum
source§fn shr_assign(&mut self, rhs: BoundedEnum)
fn shr_assign(&mut self, rhs: BoundedEnum)
>>=
operation. Read moresource§impl ShrAssign<BoundedEnum> for i8
impl ShrAssign<BoundedEnum> for i8
source§fn shr_assign(&mut self, rhs: BoundedEnum)
fn shr_assign(&mut self, rhs: BoundedEnum)
>>=
operation. Read moresource§impl ShrAssign<i8> for BoundedEnum
impl ShrAssign<i8> for BoundedEnum
source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moresource§impl Step for BoundedEnum
impl Step for BoundedEnum
source§fn steps_between(start: &Self, end: &Self) -> Option<usize>
fn steps_between(start: &Self, end: &Self) -> Option<usize>
step_trait
)source§fn forward_checked(start: Self, count: usize) -> Option<Self>
fn forward_checked(start: Self, count: usize) -> Option<Self>
step_trait
)source§fn backward_checked(start: Self, count: usize) -> Option<Self>
fn backward_checked(start: Self, count: usize) -> Option<Self>
step_trait
)source§fn forward(start: Self, count: usize) -> Self
fn forward(start: Self, count: usize) -> Self
step_trait
)source§unsafe fn forward_unchecked(start: Self, count: usize) -> Self
unsafe fn forward_unchecked(start: Self, count: usize) -> Self
step_trait
)source§fn backward(start: Self, count: usize) -> Self
fn backward(start: Self, count: usize) -> Self
step_trait
)source§unsafe fn backward_unchecked(start: Self, count: usize) -> Self
unsafe fn backward_unchecked(start: Self, count: usize) -> Self
step_trait
)source§impl<'a> Sub<&'a BoundedEnum> for &BoundedEnum
impl<'a> Sub<&'a BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
-
operator.source§impl<'a> Sub<&'a BoundedEnum> for &i8
impl<'a> Sub<&'a BoundedEnum> for &i8
source§impl<'a> Sub<&'a i8> for &BoundedEnum
impl<'a> Sub<&'a i8> for &BoundedEnum
source§impl<'b> Sub<&'b BoundedEnum> for BoundedEnum
impl<'b> Sub<&'b BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
-
operator.source§impl<'b> Sub<&'b BoundedEnum> for i8
impl<'b> Sub<&'b BoundedEnum> for i8
source§impl<'b> Sub<&'b i8> for BoundedEnum
impl<'b> Sub<&'b i8> for BoundedEnum
source§impl Sub<BoundedEnum> for &BoundedEnum
impl Sub<BoundedEnum> for &BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
-
operator.source§impl Sub<BoundedEnum> for &i8
impl Sub<BoundedEnum> for &i8
source§impl Sub<BoundedEnum> for BoundedEnum
impl Sub<BoundedEnum> for BoundedEnum
§type Output = BoundedEnum
type Output = BoundedEnum
-
operator.source§impl Sub<BoundedEnum> for i8
impl Sub<BoundedEnum> for i8
source§impl Sub<i8> for &BoundedEnum
impl Sub<i8> for &BoundedEnum
source§impl Sub<i8> for BoundedEnum
impl Sub<i8> for BoundedEnum
source§impl<'a> SubAssign<&'a BoundedEnum> for BoundedEnum
impl<'a> SubAssign<&'a BoundedEnum> for BoundedEnum
source§fn sub_assign(&mut self, rhs: &'a BoundedEnum)
fn sub_assign(&mut self, rhs: &'a BoundedEnum)
-=
operation. Read moresource§impl<'a> SubAssign<&'a BoundedEnum> for i8
impl<'a> SubAssign<&'a BoundedEnum> for i8
source§fn sub_assign(&mut self, rhs: &'a BoundedEnum)
fn sub_assign(&mut self, rhs: &'a BoundedEnum)
-=
operation. Read moresource§impl<'a> SubAssign<&'a i8> for BoundedEnum
impl<'a> SubAssign<&'a i8> for BoundedEnum
source§fn sub_assign(&mut self, rhs: &'a i8)
fn sub_assign(&mut self, rhs: &'a i8)
-=
operation. Read moresource§impl SubAssign<BoundedEnum> for BoundedEnum
impl SubAssign<BoundedEnum> for BoundedEnum
source§fn sub_assign(&mut self, rhs: BoundedEnum)
fn sub_assign(&mut self, rhs: BoundedEnum)
-=
operation. Read moresource§impl SubAssign<BoundedEnum> for i8
impl SubAssign<BoundedEnum> for i8
source§fn sub_assign(&mut self, rhs: BoundedEnum)
fn sub_assign(&mut self, rhs: BoundedEnum)
-=
operation. Read moresource§impl SubAssign<i8> for BoundedEnum
impl SubAssign<i8> for BoundedEnum
source§fn sub_assign(&mut self, rhs: i8)
fn sub_assign(&mut self, rhs: i8)
-=
operation. Read moresource§impl<'a> Sum<&'a BoundedEnum> for BoundedEnum
impl<'a> Sum<&'a BoundedEnum> for BoundedEnum
source§impl<'a> Sum<&'a BoundedEnum> for i8
impl<'a> Sum<&'a BoundedEnum> for i8
source§fn sum<I: Iterator<Item = &'a BoundedEnum>>(iter: I) -> Self
fn sum<I: Iterator<Item = &'a BoundedEnum>>(iter: I) -> Self
Self
from the elements by
“summing up” the items.source§impl Sum<BoundedEnum> for BoundedEnum
impl Sum<BoundedEnum> for BoundedEnum
source§impl Sum<BoundedEnum> for i8
impl Sum<BoundedEnum> for i8
source§fn sum<I: Iterator<Item = BoundedEnum>>(iter: I) -> Self
fn sum<I: Iterator<Item = BoundedEnum>>(iter: I) -> Self
Self
from the elements by
“summing up” the items.