Struct bounded_integer::examples::BoundedStruct
source · #[repr(transparent)]pub struct BoundedStruct(_);
Expand description
A bounded struct, implemented as a protected newtype.
This was generated from:
bounded_integer! {
pub struct BoundedStruct { -8..8 }
}
Implementations§
source§impl BoundedStruct
impl BoundedStruct
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 const fn get_ref(&self) -> &i8
pub const fn get_ref(&self) -> &i8
Returns a shared reference to the value of the bounded integer.
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 BoundedStruct> for &BoundedStruct
impl<'a> Add<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
+
operator.source§impl<'a> Add<&'a BoundedStruct> for &i8
impl<'a> Add<&'a BoundedStruct> for &i8
source§impl<'a> Add<&'a i8> for &BoundedStruct
impl<'a> Add<&'a i8> for &BoundedStruct
source§impl<'b> Add<&'b BoundedStruct> for BoundedStruct
impl<'b> Add<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
+
operator.source§impl<'b> Add<&'b BoundedStruct> for i8
impl<'b> Add<&'b BoundedStruct> for i8
source§impl<'b> Add<&'b i8> for BoundedStruct
impl<'b> Add<&'b i8> for BoundedStruct
source§impl Add<BoundedStruct> for &BoundedStruct
impl Add<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
+
operator.source§impl Add<BoundedStruct> for &i8
impl Add<BoundedStruct> for &i8
source§impl Add<BoundedStruct> for BoundedStruct
impl Add<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
+
operator.source§impl Add<BoundedStruct> for i8
impl Add<BoundedStruct> for i8
source§impl Add<i8> for &BoundedStruct
impl Add<i8> for &BoundedStruct
source§impl Add<i8> for BoundedStruct
impl Add<i8> for BoundedStruct
source§impl<'a> AddAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> AddAssign<&'a BoundedStruct> for BoundedStruct
source§fn add_assign(&mut self, rhs: &'a BoundedStruct)
fn add_assign(&mut self, rhs: &'a BoundedStruct)
+=
operation. Read moresource§impl<'a> AddAssign<&'a BoundedStruct> for i8
impl<'a> AddAssign<&'a BoundedStruct> for i8
source§fn add_assign(&mut self, rhs: &'a BoundedStruct)
fn add_assign(&mut self, rhs: &'a BoundedStruct)
+=
operation. Read moresource§impl<'a> AddAssign<&'a i8> for BoundedStruct
impl<'a> AddAssign<&'a i8> for BoundedStruct
source§fn add_assign(&mut self, rhs: &'a i8)
fn add_assign(&mut self, rhs: &'a i8)
+=
operation. Read moresource§impl AddAssign<BoundedStruct> for BoundedStruct
impl AddAssign<BoundedStruct> for BoundedStruct
source§fn add_assign(&mut self, rhs: BoundedStruct)
fn add_assign(&mut self, rhs: BoundedStruct)
+=
operation. Read moresource§impl AddAssign<BoundedStruct> for i8
impl AddAssign<BoundedStruct> for i8
source§fn add_assign(&mut self, rhs: BoundedStruct)
fn add_assign(&mut self, rhs: BoundedStruct)
+=
operation. Read moresource§impl AddAssign<i8> for BoundedStruct
impl AddAssign<i8> for BoundedStruct
source§fn add_assign(&mut self, rhs: i8)
fn add_assign(&mut self, rhs: i8)
+=
operation. Read moresource§impl<'a> Arbitrary<'a> for BoundedStruct
impl<'a> Arbitrary<'a> for BoundedStruct
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 BoundedStruct
impl AsBytes for BoundedStruct
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 BoundedStruct
impl AsRef<i8> for BoundedStruct
source§impl Binary for BoundedStruct
impl Binary for BoundedStruct
source§impl<'a> BitAnd<&'a BoundedStruct> for &BoundedStruct
impl<'a> BitAnd<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
&
operator.source§impl<'a> BitAnd<&'a BoundedStruct> for &i8
impl<'a> BitAnd<&'a BoundedStruct> for &i8
source§impl<'a> BitAnd<&'a i8> for &BoundedStruct
impl<'a> BitAnd<&'a i8> for &BoundedStruct
source§impl<'b> BitAnd<&'b BoundedStruct> for BoundedStruct
impl<'b> BitAnd<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
&
operator.source§impl<'b> BitAnd<&'b BoundedStruct> for i8
impl<'b> BitAnd<&'b BoundedStruct> for i8
source§impl<'b> BitAnd<&'b i8> for BoundedStruct
impl<'b> BitAnd<&'b i8> for BoundedStruct
source§impl BitAnd<BoundedStruct> for &BoundedStruct
impl BitAnd<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
&
operator.source§impl BitAnd<BoundedStruct> for &i8
impl BitAnd<BoundedStruct> for &i8
source§impl BitAnd<BoundedStruct> for BoundedStruct
impl BitAnd<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
&
operator.source§impl BitAnd<BoundedStruct> for i8
impl BitAnd<BoundedStruct> for i8
source§impl BitAnd<i8> for &BoundedStruct
impl BitAnd<i8> for &BoundedStruct
source§impl BitAnd<i8> for BoundedStruct
impl BitAnd<i8> for BoundedStruct
source§impl<'a> BitAndAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> BitAndAssign<&'a BoundedStruct> for BoundedStruct
source§fn bitand_assign(&mut self, rhs: &'a BoundedStruct)
fn bitand_assign(&mut self, rhs: &'a BoundedStruct)
&=
operation. Read moresource§impl<'a> BitAndAssign<&'a BoundedStruct> for i8
impl<'a> BitAndAssign<&'a BoundedStruct> for i8
source§fn bitand_assign(&mut self, rhs: &'a BoundedStruct)
fn bitand_assign(&mut self, rhs: &'a BoundedStruct)
&=
operation. Read moresource§impl<'a> BitAndAssign<&'a i8> for BoundedStruct
impl<'a> BitAndAssign<&'a i8> for BoundedStruct
source§fn bitand_assign(&mut self, rhs: &'a i8)
fn bitand_assign(&mut self, rhs: &'a i8)
&=
operation. Read moresource§impl BitAndAssign<BoundedStruct> for BoundedStruct
impl BitAndAssign<BoundedStruct> for BoundedStruct
source§fn bitand_assign(&mut self, rhs: BoundedStruct)
fn bitand_assign(&mut self, rhs: BoundedStruct)
&=
operation. Read moresource§impl BitAndAssign<BoundedStruct> for i8
impl BitAndAssign<BoundedStruct> for i8
source§fn bitand_assign(&mut self, rhs: BoundedStruct)
fn bitand_assign(&mut self, rhs: BoundedStruct)
&=
operation. Read moresource§impl BitAndAssign<i8> for BoundedStruct
impl BitAndAssign<i8> for BoundedStruct
source§fn bitand_assign(&mut self, rhs: i8)
fn bitand_assign(&mut self, rhs: i8)
&=
operation. Read moresource§impl<'a> BitOr<&'a BoundedStruct> for &BoundedStruct
impl<'a> BitOr<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
|
operator.source§impl<'a> BitOr<&'a BoundedStruct> for &i8
impl<'a> BitOr<&'a BoundedStruct> for &i8
source§impl<'a> BitOr<&'a i8> for &BoundedStruct
impl<'a> BitOr<&'a i8> for &BoundedStruct
source§impl<'b> BitOr<&'b BoundedStruct> for BoundedStruct
impl<'b> BitOr<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
|
operator.source§impl<'b> BitOr<&'b BoundedStruct> for i8
impl<'b> BitOr<&'b BoundedStruct> for i8
source§impl<'b> BitOr<&'b i8> for BoundedStruct
impl<'b> BitOr<&'b i8> for BoundedStruct
source§impl BitOr<BoundedStruct> for &BoundedStruct
impl BitOr<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
|
operator.source§impl BitOr<BoundedStruct> for &i8
impl BitOr<BoundedStruct> for &i8
source§impl BitOr<BoundedStruct> for BoundedStruct
impl BitOr<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
|
operator.source§impl BitOr<BoundedStruct> for i8
impl BitOr<BoundedStruct> for i8
source§impl BitOr<i8> for &BoundedStruct
impl BitOr<i8> for &BoundedStruct
source§impl BitOr<i8> for BoundedStruct
impl BitOr<i8> for BoundedStruct
source§impl<'a> BitOrAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> BitOrAssign<&'a BoundedStruct> for BoundedStruct
source§fn bitor_assign(&mut self, rhs: &'a BoundedStruct)
fn bitor_assign(&mut self, rhs: &'a BoundedStruct)
|=
operation. Read moresource§impl<'a> BitOrAssign<&'a BoundedStruct> for i8
impl<'a> BitOrAssign<&'a BoundedStruct> for i8
source§fn bitor_assign(&mut self, rhs: &'a BoundedStruct)
fn bitor_assign(&mut self, rhs: &'a BoundedStruct)
|=
operation. Read moresource§impl<'a> BitOrAssign<&'a i8> for BoundedStruct
impl<'a> BitOrAssign<&'a i8> for BoundedStruct
source§fn bitor_assign(&mut self, rhs: &'a i8)
fn bitor_assign(&mut self, rhs: &'a i8)
|=
operation. Read moresource§impl BitOrAssign<BoundedStruct> for BoundedStruct
impl BitOrAssign<BoundedStruct> for BoundedStruct
source§fn bitor_assign(&mut self, rhs: BoundedStruct)
fn bitor_assign(&mut self, rhs: BoundedStruct)
|=
operation. Read moresource§impl BitOrAssign<BoundedStruct> for i8
impl BitOrAssign<BoundedStruct> for i8
source§fn bitor_assign(&mut self, rhs: BoundedStruct)
fn bitor_assign(&mut self, rhs: BoundedStruct)
|=
operation. Read moresource§impl BitOrAssign<i8> for BoundedStruct
impl BitOrAssign<i8> for BoundedStruct
source§fn bitor_assign(&mut self, rhs: i8)
fn bitor_assign(&mut self, rhs: i8)
|=
operation. Read moresource§impl<'a> BitXor<&'a BoundedStruct> for &BoundedStruct
impl<'a> BitXor<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
^
operator.source§impl<'a> BitXor<&'a BoundedStruct> for &i8
impl<'a> BitXor<&'a BoundedStruct> for &i8
source§impl<'a> BitXor<&'a i8> for &BoundedStruct
impl<'a> BitXor<&'a i8> for &BoundedStruct
source§impl<'b> BitXor<&'b BoundedStruct> for BoundedStruct
impl<'b> BitXor<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
^
operator.source§impl<'b> BitXor<&'b BoundedStruct> for i8
impl<'b> BitXor<&'b BoundedStruct> for i8
source§impl<'b> BitXor<&'b i8> for BoundedStruct
impl<'b> BitXor<&'b i8> for BoundedStruct
source§impl BitXor<BoundedStruct> for &BoundedStruct
impl BitXor<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
^
operator.source§impl BitXor<BoundedStruct> for &i8
impl BitXor<BoundedStruct> for &i8
source§impl BitXor<BoundedStruct> for BoundedStruct
impl BitXor<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
^
operator.source§impl BitXor<BoundedStruct> for i8
impl BitXor<BoundedStruct> for i8
source§impl BitXor<i8> for &BoundedStruct
impl BitXor<i8> for &BoundedStruct
source§impl BitXor<i8> for BoundedStruct
impl BitXor<i8> for BoundedStruct
source§impl<'a> BitXorAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> BitXorAssign<&'a BoundedStruct> for BoundedStruct
source§fn bitxor_assign(&mut self, rhs: &'a BoundedStruct)
fn bitxor_assign(&mut self, rhs: &'a BoundedStruct)
^=
operation. Read moresource§impl<'a> BitXorAssign<&'a BoundedStruct> for i8
impl<'a> BitXorAssign<&'a BoundedStruct> for i8
source§fn bitxor_assign(&mut self, rhs: &'a BoundedStruct)
fn bitxor_assign(&mut self, rhs: &'a BoundedStruct)
^=
operation. Read moresource§impl<'a> BitXorAssign<&'a i8> for BoundedStruct
impl<'a> BitXorAssign<&'a i8> for BoundedStruct
source§fn bitxor_assign(&mut self, rhs: &'a i8)
fn bitxor_assign(&mut self, rhs: &'a i8)
^=
operation. Read moresource§impl BitXorAssign<BoundedStruct> for BoundedStruct
impl BitXorAssign<BoundedStruct> for BoundedStruct
source§fn bitxor_assign(&mut self, rhs: BoundedStruct)
fn bitxor_assign(&mut self, rhs: BoundedStruct)
^=
operation. Read moresource§impl BitXorAssign<BoundedStruct> for i8
impl BitXorAssign<BoundedStruct> for i8
source§fn bitxor_assign(&mut self, rhs: BoundedStruct)
fn bitxor_assign(&mut self, rhs: BoundedStruct)
^=
operation. Read moresource§impl BitXorAssign<i8> for BoundedStruct
impl BitXorAssign<i8> for BoundedStruct
source§fn bitxor_assign(&mut self, rhs: i8)
fn bitxor_assign(&mut self, rhs: i8)
^=
operation. Read moresource§impl Borrow<i8> for BoundedStruct
impl Borrow<i8> for BoundedStruct
source§impl Clone for BoundedStruct
impl Clone for BoundedStruct
source§fn clone(&self) -> BoundedStruct
fn clone(&self) -> BoundedStruct
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Contiguous for BoundedStruct
impl Contiguous for BoundedStruct
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 BoundedStruct
impl Debug for BoundedStruct
source§impl Default for BoundedStruct
impl Default for BoundedStruct
source§impl<'de> Deserialize<'de> for BoundedStruct
impl<'de> Deserialize<'de> for BoundedStruct
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 BoundedStruct
impl Display for BoundedStruct
source§impl<'a> Div<&'a BoundedStruct> for &BoundedStruct
impl<'a> Div<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
/
operator.source§impl<'a> Div<&'a BoundedStruct> for &i8
impl<'a> Div<&'a BoundedStruct> for &i8
source§impl<'a> Div<&'a i8> for &BoundedStruct
impl<'a> Div<&'a i8> for &BoundedStruct
source§impl<'b> Div<&'b BoundedStruct> for BoundedStruct
impl<'b> Div<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
/
operator.source§impl<'b> Div<&'b BoundedStruct> for i8
impl<'b> Div<&'b BoundedStruct> for i8
source§impl<'b> Div<&'b i8> for BoundedStruct
impl<'b> Div<&'b i8> for BoundedStruct
source§impl Div<BoundedStruct> for &BoundedStruct
impl Div<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
/
operator.source§impl Div<BoundedStruct> for &i8
impl Div<BoundedStruct> for &i8
source§impl Div<BoundedStruct> for BoundedStruct
impl Div<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
/
operator.source§impl Div<BoundedStruct> for i8
impl Div<BoundedStruct> for i8
source§impl Div<i8> for &BoundedStruct
impl Div<i8> for &BoundedStruct
source§impl Div<i8> for BoundedStruct
impl Div<i8> for BoundedStruct
source§impl<'a> DivAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> DivAssign<&'a BoundedStruct> for BoundedStruct
source§fn div_assign(&mut self, rhs: &'a BoundedStruct)
fn div_assign(&mut self, rhs: &'a BoundedStruct)
/=
operation. Read moresource§impl<'a> DivAssign<&'a BoundedStruct> for i8
impl<'a> DivAssign<&'a BoundedStruct> for i8
source§fn div_assign(&mut self, rhs: &'a BoundedStruct)
fn div_assign(&mut self, rhs: &'a BoundedStruct)
/=
operation. Read moresource§impl<'a> DivAssign<&'a i8> for BoundedStruct
impl<'a> DivAssign<&'a i8> for BoundedStruct
source§fn div_assign(&mut self, rhs: &'a i8)
fn div_assign(&mut self, rhs: &'a i8)
/=
operation. Read moresource§impl DivAssign<BoundedStruct> for BoundedStruct
impl DivAssign<BoundedStruct> for BoundedStruct
source§fn div_assign(&mut self, rhs: BoundedStruct)
fn div_assign(&mut self, rhs: BoundedStruct)
/=
operation. Read moresource§impl DivAssign<BoundedStruct> for i8
impl DivAssign<BoundedStruct> for i8
source§fn div_assign(&mut self, rhs: BoundedStruct)
fn div_assign(&mut self, rhs: BoundedStruct)
/=
operation. Read moresource§impl DivAssign<i8> for BoundedStruct
impl DivAssign<i8> for BoundedStruct
source§fn div_assign(&mut self, rhs: i8)
fn div_assign(&mut self, rhs: i8)
/=
operation. Read moresource§impl From<BoundedStruct> for i128
impl From<BoundedStruct> for i128
source§fn from(bounded: BoundedStruct) -> Self
fn from(bounded: BoundedStruct) -> Self
source§impl From<BoundedStruct> for i16
impl From<BoundedStruct> for i16
source§fn from(bounded: BoundedStruct) -> Self
fn from(bounded: BoundedStruct) -> Self
source§impl From<BoundedStruct> for i32
impl From<BoundedStruct> for i32
source§fn from(bounded: BoundedStruct) -> Self
fn from(bounded: BoundedStruct) -> Self
source§impl From<BoundedStruct> for i64
impl From<BoundedStruct> for i64
source§fn from(bounded: BoundedStruct) -> Self
fn from(bounded: BoundedStruct) -> Self
source§impl From<BoundedStruct> for i8
impl From<BoundedStruct> for i8
source§fn from(bounded: BoundedStruct) -> Self
fn from(bounded: BoundedStruct) -> Self
source§impl FromStr for BoundedStruct
impl FromStr for BoundedStruct
source§impl Hash for BoundedStruct
impl Hash for BoundedStruct
source§impl LowerExp for BoundedStruct
impl LowerExp for BoundedStruct
source§impl LowerHex for BoundedStruct
impl LowerHex for BoundedStruct
source§impl<'a> Mul<&'a BoundedStruct> for &BoundedStruct
impl<'a> Mul<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
*
operator.source§impl<'a> Mul<&'a BoundedStruct> for &i8
impl<'a> Mul<&'a BoundedStruct> for &i8
source§impl<'a> Mul<&'a i8> for &BoundedStruct
impl<'a> Mul<&'a i8> for &BoundedStruct
source§impl<'b> Mul<&'b BoundedStruct> for BoundedStruct
impl<'b> Mul<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
*
operator.source§impl<'b> Mul<&'b BoundedStruct> for i8
impl<'b> Mul<&'b BoundedStruct> for i8
source§impl<'b> Mul<&'b i8> for BoundedStruct
impl<'b> Mul<&'b i8> for BoundedStruct
source§impl Mul<BoundedStruct> for &BoundedStruct
impl Mul<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
*
operator.source§impl Mul<BoundedStruct> for &i8
impl Mul<BoundedStruct> for &i8
source§impl Mul<BoundedStruct> for BoundedStruct
impl Mul<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
*
operator.source§impl Mul<BoundedStruct> for i8
impl Mul<BoundedStruct> for i8
source§impl Mul<i8> for &BoundedStruct
impl Mul<i8> for &BoundedStruct
source§impl Mul<i8> for BoundedStruct
impl Mul<i8> for BoundedStruct
source§impl<'a> MulAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> MulAssign<&'a BoundedStruct> for BoundedStruct
source§fn mul_assign(&mut self, rhs: &'a BoundedStruct)
fn mul_assign(&mut self, rhs: &'a BoundedStruct)
*=
operation. Read moresource§impl<'a> MulAssign<&'a BoundedStruct> for i8
impl<'a> MulAssign<&'a BoundedStruct> for i8
source§fn mul_assign(&mut self, rhs: &'a BoundedStruct)
fn mul_assign(&mut self, rhs: &'a BoundedStruct)
*=
operation. Read moresource§impl<'a> MulAssign<&'a i8> for BoundedStruct
impl<'a> MulAssign<&'a i8> for BoundedStruct
source§fn mul_assign(&mut self, rhs: &'a i8)
fn mul_assign(&mut self, rhs: &'a i8)
*=
operation. Read moresource§impl MulAssign<BoundedStruct> for BoundedStruct
impl MulAssign<BoundedStruct> for BoundedStruct
source§fn mul_assign(&mut self, rhs: BoundedStruct)
fn mul_assign(&mut self, rhs: BoundedStruct)
*=
operation. Read moresource§impl MulAssign<BoundedStruct> for i8
impl MulAssign<BoundedStruct> for i8
source§fn mul_assign(&mut self, rhs: BoundedStruct)
fn mul_assign(&mut self, rhs: BoundedStruct)
*=
operation. Read moresource§impl MulAssign<i8> for BoundedStruct
impl MulAssign<i8> for BoundedStruct
source§fn mul_assign(&mut self, rhs: i8)
fn mul_assign(&mut self, rhs: i8)
*=
operation. Read moresource§impl Neg for &BoundedStruct
impl Neg for &BoundedStruct
source§impl Neg for BoundedStruct
impl Neg for BoundedStruct
source§impl Not for &BoundedStruct
impl Not for &BoundedStruct
source§impl Not for BoundedStruct
impl Not for BoundedStruct
source§impl Octal for BoundedStruct
impl Octal for BoundedStruct
source§impl Ord for BoundedStruct
impl Ord for BoundedStruct
source§fn cmp(&self, other: &BoundedStruct) -> Ordering
fn cmp(&self, other: &BoundedStruct) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<BoundedStruct> for BoundedStruct
impl PartialEq<BoundedStruct> for BoundedStruct
source§fn eq(&self, other: &BoundedStruct) -> bool
fn eq(&self, other: &BoundedStruct) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<BoundedStruct> for i8
impl PartialEq<BoundedStruct> for i8
source§fn eq(&self, other: &BoundedStruct) -> bool
fn eq(&self, other: &BoundedStruct) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<i8> for BoundedStruct
impl PartialEq<i8> for BoundedStruct
source§impl PartialOrd<BoundedStruct> for BoundedStruct
impl PartialOrd<BoundedStruct> for BoundedStruct
source§fn partial_cmp(&self, other: &BoundedStruct) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundedStruct) -> 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<BoundedStruct> for i8
impl PartialOrd<BoundedStruct> for i8
source§fn partial_cmp(&self, other: &BoundedStruct) -> Option<Ordering>
fn partial_cmp(&self, other: &BoundedStruct) -> 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 BoundedStruct
impl PartialOrd<i8> for BoundedStruct
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 BoundedStruct> for BoundedStruct
impl<'a> Product<&'a BoundedStruct> for BoundedStruct
source§impl<'a> Product<&'a BoundedStruct> for i8
impl<'a> Product<&'a BoundedStruct> for i8
source§fn product<I: Iterator<Item = &'a BoundedStruct>>(iter: I) -> Self
fn product<I: Iterator<Item = &'a BoundedStruct>>(iter: I) -> Self
Self
from the elements by
multiplying the items.source§impl Product<BoundedStruct> for BoundedStruct
impl Product<BoundedStruct> for BoundedStruct
source§impl Product<BoundedStruct> for i8
impl Product<BoundedStruct> for i8
source§fn product<I: Iterator<Item = BoundedStruct>>(iter: I) -> Self
fn product<I: Iterator<Item = BoundedStruct>>(iter: I) -> Self
Self
from the elements by
multiplying the items.source§impl<'a> Rem<&'a BoundedStruct> for &BoundedStruct
impl<'a> Rem<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
%
operator.source§impl<'a> Rem<&'a BoundedStruct> for &i8
impl<'a> Rem<&'a BoundedStruct> for &i8
source§impl<'a> Rem<&'a i8> for &BoundedStruct
impl<'a> Rem<&'a i8> for &BoundedStruct
source§impl<'b> Rem<&'b BoundedStruct> for BoundedStruct
impl<'b> Rem<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
%
operator.source§impl<'b> Rem<&'b BoundedStruct> for i8
impl<'b> Rem<&'b BoundedStruct> for i8
source§impl<'b> Rem<&'b i8> for BoundedStruct
impl<'b> Rem<&'b i8> for BoundedStruct
source§impl Rem<BoundedStruct> for &BoundedStruct
impl Rem<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
%
operator.source§impl Rem<BoundedStruct> for &i8
impl Rem<BoundedStruct> for &i8
source§impl Rem<BoundedStruct> for BoundedStruct
impl Rem<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
%
operator.source§impl Rem<BoundedStruct> for i8
impl Rem<BoundedStruct> for i8
source§impl Rem<i8> for &BoundedStruct
impl Rem<i8> for &BoundedStruct
source§impl Rem<i8> for BoundedStruct
impl Rem<i8> for BoundedStruct
source§impl<'a> RemAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> RemAssign<&'a BoundedStruct> for BoundedStruct
source§fn rem_assign(&mut self, rhs: &'a BoundedStruct)
fn rem_assign(&mut self, rhs: &'a BoundedStruct)
%=
operation. Read moresource§impl<'a> RemAssign<&'a BoundedStruct> for i8
impl<'a> RemAssign<&'a BoundedStruct> for i8
source§fn rem_assign(&mut self, rhs: &'a BoundedStruct)
fn rem_assign(&mut self, rhs: &'a BoundedStruct)
%=
operation. Read moresource§impl<'a> RemAssign<&'a i8> for BoundedStruct
impl<'a> RemAssign<&'a i8> for BoundedStruct
source§fn rem_assign(&mut self, rhs: &'a i8)
fn rem_assign(&mut self, rhs: &'a i8)
%=
operation. Read moresource§impl RemAssign<BoundedStruct> for BoundedStruct
impl RemAssign<BoundedStruct> for BoundedStruct
source§fn rem_assign(&mut self, rhs: BoundedStruct)
fn rem_assign(&mut self, rhs: BoundedStruct)
%=
operation. Read moresource§impl RemAssign<BoundedStruct> for i8
impl RemAssign<BoundedStruct> for i8
source§fn rem_assign(&mut self, rhs: BoundedStruct)
fn rem_assign(&mut self, rhs: BoundedStruct)
%=
operation. Read moresource§impl RemAssign<i8> for BoundedStruct
impl RemAssign<i8> for BoundedStruct
source§fn rem_assign(&mut self, rhs: i8)
fn rem_assign(&mut self, rhs: i8)
%=
operation. Read moresource§impl Serialize for BoundedStruct
impl Serialize for BoundedStruct
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 BoundedStruct> for &BoundedStruct
impl<'a> Shl<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
<<
operator.source§impl<'a> Shl<&'a BoundedStruct> for &i8
impl<'a> Shl<&'a BoundedStruct> for &i8
source§impl<'a> Shl<&'a i8> for &BoundedStruct
impl<'a> Shl<&'a i8> for &BoundedStruct
source§impl<'b> Shl<&'b BoundedStruct> for BoundedStruct
impl<'b> Shl<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
<<
operator.source§impl<'b> Shl<&'b BoundedStruct> for i8
impl<'b> Shl<&'b BoundedStruct> for i8
source§impl<'b> Shl<&'b i8> for BoundedStruct
impl<'b> Shl<&'b i8> for BoundedStruct
source§impl Shl<BoundedStruct> for &BoundedStruct
impl Shl<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
<<
operator.source§impl Shl<BoundedStruct> for &i8
impl Shl<BoundedStruct> for &i8
source§impl Shl<BoundedStruct> for BoundedStruct
impl Shl<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
<<
operator.source§impl Shl<BoundedStruct> for i8
impl Shl<BoundedStruct> for i8
source§impl Shl<i8> for &BoundedStruct
impl Shl<i8> for &BoundedStruct
source§impl Shl<i8> for BoundedStruct
impl Shl<i8> for BoundedStruct
source§impl<'a> ShlAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> ShlAssign<&'a BoundedStruct> for BoundedStruct
source§fn shl_assign(&mut self, rhs: &'a BoundedStruct)
fn shl_assign(&mut self, rhs: &'a BoundedStruct)
<<=
operation. Read moresource§impl<'a> ShlAssign<&'a BoundedStruct> for i8
impl<'a> ShlAssign<&'a BoundedStruct> for i8
source§fn shl_assign(&mut self, rhs: &'a BoundedStruct)
fn shl_assign(&mut self, rhs: &'a BoundedStruct)
<<=
operation. Read moresource§impl<'a> ShlAssign<&'a i8> for BoundedStruct
impl<'a> ShlAssign<&'a i8> for BoundedStruct
source§fn shl_assign(&mut self, rhs: &'a i8)
fn shl_assign(&mut self, rhs: &'a i8)
<<=
operation. Read moresource§impl ShlAssign<BoundedStruct> for BoundedStruct
impl ShlAssign<BoundedStruct> for BoundedStruct
source§fn shl_assign(&mut self, rhs: BoundedStruct)
fn shl_assign(&mut self, rhs: BoundedStruct)
<<=
operation. Read moresource§impl ShlAssign<BoundedStruct> for i8
impl ShlAssign<BoundedStruct> for i8
source§fn shl_assign(&mut self, rhs: BoundedStruct)
fn shl_assign(&mut self, rhs: BoundedStruct)
<<=
operation. Read moresource§impl ShlAssign<i8> for BoundedStruct
impl ShlAssign<i8> for BoundedStruct
source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<=
operation. Read moresource§impl<'a> Shr<&'a BoundedStruct> for &BoundedStruct
impl<'a> Shr<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
>>
operator.source§impl<'a> Shr<&'a BoundedStruct> for &i8
impl<'a> Shr<&'a BoundedStruct> for &i8
source§impl<'a> Shr<&'a i8> for &BoundedStruct
impl<'a> Shr<&'a i8> for &BoundedStruct
source§impl<'b> Shr<&'b BoundedStruct> for BoundedStruct
impl<'b> Shr<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
>>
operator.source§impl<'b> Shr<&'b BoundedStruct> for i8
impl<'b> Shr<&'b BoundedStruct> for i8
source§impl<'b> Shr<&'b i8> for BoundedStruct
impl<'b> Shr<&'b i8> for BoundedStruct
source§impl Shr<BoundedStruct> for &BoundedStruct
impl Shr<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
>>
operator.source§impl Shr<BoundedStruct> for &i8
impl Shr<BoundedStruct> for &i8
source§impl Shr<BoundedStruct> for BoundedStruct
impl Shr<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
>>
operator.source§impl Shr<BoundedStruct> for i8
impl Shr<BoundedStruct> for i8
source§impl Shr<i8> for &BoundedStruct
impl Shr<i8> for &BoundedStruct
source§impl Shr<i8> for BoundedStruct
impl Shr<i8> for BoundedStruct
source§impl<'a> ShrAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> ShrAssign<&'a BoundedStruct> for BoundedStruct
source§fn shr_assign(&mut self, rhs: &'a BoundedStruct)
fn shr_assign(&mut self, rhs: &'a BoundedStruct)
>>=
operation. Read moresource§impl<'a> ShrAssign<&'a BoundedStruct> for i8
impl<'a> ShrAssign<&'a BoundedStruct> for i8
source§fn shr_assign(&mut self, rhs: &'a BoundedStruct)
fn shr_assign(&mut self, rhs: &'a BoundedStruct)
>>=
operation. Read moresource§impl<'a> ShrAssign<&'a i8> for BoundedStruct
impl<'a> ShrAssign<&'a i8> for BoundedStruct
source§fn shr_assign(&mut self, rhs: &'a i8)
fn shr_assign(&mut self, rhs: &'a i8)
>>=
operation. Read moresource§impl ShrAssign<BoundedStruct> for BoundedStruct
impl ShrAssign<BoundedStruct> for BoundedStruct
source§fn shr_assign(&mut self, rhs: BoundedStruct)
fn shr_assign(&mut self, rhs: BoundedStruct)
>>=
operation. Read moresource§impl ShrAssign<BoundedStruct> for i8
impl ShrAssign<BoundedStruct> for i8
source§fn shr_assign(&mut self, rhs: BoundedStruct)
fn shr_assign(&mut self, rhs: BoundedStruct)
>>=
operation. Read moresource§impl ShrAssign<i8> for BoundedStruct
impl ShrAssign<i8> for BoundedStruct
source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>=
operation. Read moresource§impl Step for BoundedStruct
impl Step for BoundedStruct
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 BoundedStruct> for &BoundedStruct
impl<'a> Sub<&'a BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
-
operator.source§impl<'a> Sub<&'a BoundedStruct> for &i8
impl<'a> Sub<&'a BoundedStruct> for &i8
source§impl<'a> Sub<&'a i8> for &BoundedStruct
impl<'a> Sub<&'a i8> for &BoundedStruct
source§impl<'b> Sub<&'b BoundedStruct> for BoundedStruct
impl<'b> Sub<&'b BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
-
operator.source§impl<'b> Sub<&'b BoundedStruct> for i8
impl<'b> Sub<&'b BoundedStruct> for i8
source§impl<'b> Sub<&'b i8> for BoundedStruct
impl<'b> Sub<&'b i8> for BoundedStruct
source§impl Sub<BoundedStruct> for &BoundedStruct
impl Sub<BoundedStruct> for &BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
-
operator.source§impl Sub<BoundedStruct> for &i8
impl Sub<BoundedStruct> for &i8
source§impl Sub<BoundedStruct> for BoundedStruct
impl Sub<BoundedStruct> for BoundedStruct
§type Output = BoundedStruct
type Output = BoundedStruct
-
operator.source§impl Sub<BoundedStruct> for i8
impl Sub<BoundedStruct> for i8
source§impl Sub<i8> for &BoundedStruct
impl Sub<i8> for &BoundedStruct
source§impl Sub<i8> for BoundedStruct
impl Sub<i8> for BoundedStruct
source§impl<'a> SubAssign<&'a BoundedStruct> for BoundedStruct
impl<'a> SubAssign<&'a BoundedStruct> for BoundedStruct
source§fn sub_assign(&mut self, rhs: &'a BoundedStruct)
fn sub_assign(&mut self, rhs: &'a BoundedStruct)
-=
operation. Read moresource§impl<'a> SubAssign<&'a BoundedStruct> for i8
impl<'a> SubAssign<&'a BoundedStruct> for i8
source§fn sub_assign(&mut self, rhs: &'a BoundedStruct)
fn sub_assign(&mut self, rhs: &'a BoundedStruct)
-=
operation. Read moresource§impl<'a> SubAssign<&'a i8> for BoundedStruct
impl<'a> SubAssign<&'a i8> for BoundedStruct
source§fn sub_assign(&mut self, rhs: &'a i8)
fn sub_assign(&mut self, rhs: &'a i8)
-=
operation. Read moresource§impl SubAssign<BoundedStruct> for BoundedStruct
impl SubAssign<BoundedStruct> for BoundedStruct
source§fn sub_assign(&mut self, rhs: BoundedStruct)
fn sub_assign(&mut self, rhs: BoundedStruct)
-=
operation. Read moresource§impl SubAssign<BoundedStruct> for i8
impl SubAssign<BoundedStruct> for i8
source§fn sub_assign(&mut self, rhs: BoundedStruct)
fn sub_assign(&mut self, rhs: BoundedStruct)
-=
operation. Read moresource§impl SubAssign<i8> for BoundedStruct
impl SubAssign<i8> for BoundedStruct
source§fn sub_assign(&mut self, rhs: i8)
fn sub_assign(&mut self, rhs: i8)
-=
operation. Read moresource§impl<'a> Sum<&'a BoundedStruct> for BoundedStruct
impl<'a> Sum<&'a BoundedStruct> for BoundedStruct
source§impl<'a> Sum<&'a BoundedStruct> for i8
impl<'a> Sum<&'a BoundedStruct> for i8
source§fn sum<I: Iterator<Item = &'a BoundedStruct>>(iter: I) -> Self
fn sum<I: Iterator<Item = &'a BoundedStruct>>(iter: I) -> Self
Self
from the elements by
“summing up” the items.source§impl Sum<BoundedStruct> for BoundedStruct
impl Sum<BoundedStruct> for BoundedStruct
source§impl Sum<BoundedStruct> for i8
impl Sum<BoundedStruct> for i8
source§fn sum<I: Iterator<Item = BoundedStruct>>(iter: I) -> Self
fn sum<I: Iterator<Item = BoundedStruct>>(iter: I) -> Self
Self
from the elements by
“summing up” the items.