Struct BoundedStruct

Source
pub struct BoundedStruct(/* private fields */);
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

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

The smallest value of the bounded integer; -8.

Source

pub const MAX: Self

The largest value of the bounded integer; 7.

Source

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

Creates a bounded integer without checking the value.

§Safety

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

Source

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

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

§Safety

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

Source

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

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

§Safety

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

§Panics

Panics if radix is below 2 or above 36.

Source

pub const fn get(self) -> i8

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

Source

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

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

Source

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

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

§Safety

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

Source

pub const fn abs(self) -> Self

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Checked integer addition.

Source

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

Saturating integer addition.

Source

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

Checked integer subtraction.

Source

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

Saturating integer subtraction.

Source

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

Checked integer multiplication.

Source

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

Saturating integer multiplication.

Source

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

Checked integer division.

Source

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

Checked Euclidean division.

Source

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

Checked integer remainder.

Source

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

Checked Euclidean remainder.

Source

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

Checked negation.

Source

pub const fn saturating_neg(self) -> Self

Saturating negation.

Source

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

Checked absolute value.

Source

pub const fn saturating_abs(self) -> Self

Saturating absolute value.

Source

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

Checked exponentiation.

Source

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

Saturating exponentiation.

Source

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

Checked shift left.

Source

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

Checked shift right.

Trait Implementations§

Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

impl Add for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the + operator.
Source§

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

Performs the + operation. Read more
Source§

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

Source§

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

Performs the += operation. Read more
Source§

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

Source§

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

Performs the += operation. Read more
Source§

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

Source§

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

Performs the += operation. Read more
Source§

impl AddAssign<BoundedStruct> for i8

Source§

fn add_assign(&mut self, rhs: BoundedStruct)

Performs the += operation. Read more
Source§

impl AddAssign<i8> for BoundedStruct

Source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
Source§

impl AddAssign for BoundedStruct

Source§

fn add_assign(&mut self, rhs: BoundedStruct)

Performs the += operation. Read more
Source§

impl<'a> Arbitrary<'a> for BoundedStruct

Source§

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

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

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

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

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

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

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

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

impl AsRef<i8> for BoundedStruct

Source§

fn as_ref(&self) -> &i8

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

impl Binary for BoundedStruct

Source§

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

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

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

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

impl BitAnd for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the & operator.
Source§

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

Performs the & operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

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

Source§

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

Performs the &= operation. Read more
Source§

impl BitAndAssign<BoundedStruct> for i8

Source§

fn bitand_assign(&mut self, rhs: BoundedStruct)

Performs the &= operation. Read more
Source§

impl BitAndAssign<i8> for BoundedStruct

Source§

fn bitand_assign(&mut self, rhs: i8)

Performs the &= operation. Read more
Source§

impl BitAndAssign for BoundedStruct

Source§

fn bitand_assign(&mut self, rhs: BoundedStruct)

Performs the &= operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

impl BitOr for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the | operator.
Source§

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

Performs the | operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

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

Source§

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

Performs the |= operation. Read more
Source§

impl BitOrAssign<BoundedStruct> for i8

Source§

fn bitor_assign(&mut self, rhs: BoundedStruct)

Performs the |= operation. Read more
Source§

impl BitOrAssign<i8> for BoundedStruct

Source§

fn bitor_assign(&mut self, rhs: i8)

Performs the |= operation. Read more
Source§

impl BitOrAssign for BoundedStruct

Source§

fn bitor_assign(&mut self, rhs: BoundedStruct)

Performs the |= operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

impl BitXor for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the ^ operator.
Source§

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

Performs the ^ operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

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

Source§

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

Performs the ^= operation. Read more
Source§

impl BitXorAssign<BoundedStruct> for i8

Source§

fn bitxor_assign(&mut self, rhs: BoundedStruct)

Performs the ^= operation. Read more
Source§

impl BitXorAssign<i8> for BoundedStruct

Source§

fn bitxor_assign(&mut self, rhs: i8)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for BoundedStruct

Source§

fn bitxor_assign(&mut self, rhs: BoundedStruct)

Performs the ^= operation. Read more
Source§

impl Borrow<i8> for BoundedStruct

Source§

fn borrow(&self) -> &i8

Immutably borrows from an owned value. Read more
Source§

impl Clone for BoundedStruct

Source§

fn clone(&self) -> BoundedStruct

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 BoundedStruct

Source§

const MAX_VALUE: i8 = 7i8

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

const MIN_VALUE: i8 = -8i8

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

type Int = i8

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

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

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

fn into_integer(self) -> Self::Int

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

impl Debug for BoundedStruct

Source§

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

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

impl Default for BoundedStruct

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for BoundedStruct

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 BoundedStruct

Source§

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

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

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

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl Div for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Source§

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

Performs the /= operation. Read more
Source§

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

Source§

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

Performs the /= operation. Read more
Source§

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

Source§

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

Performs the /= operation. Read more
Source§

impl DivAssign<BoundedStruct> for i8

Source§

fn div_assign(&mut self, rhs: BoundedStruct)

Performs the /= operation. Read more
Source§

impl DivAssign<i8> for BoundedStruct

Source§

fn div_assign(&mut self, rhs: i8)

Performs the /= operation. Read more
Source§

impl DivAssign for BoundedStruct

Source§

fn div_assign(&mut self, rhs: BoundedStruct)

Performs the /= operation. Read more
Source§

impl From<BoundedStruct> for i128

Source§

fn from(bounded: BoundedStruct) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedStruct> for i16

Source§

fn from(bounded: BoundedStruct) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedStruct> for i32

Source§

fn from(bounded: BoundedStruct) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedStruct> for i64

Source§

fn from(bounded: BoundedStruct) -> Self

Converts to this type from the input type.
Source§

impl From<BoundedStruct> for i8

Source§

fn from(bounded: BoundedStruct) -> Self

Converts to this type from the input type.
Source§

impl FromStr for BoundedStruct

Source§

type Err = ParseError

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

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

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

impl Hash for BoundedStruct

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 BoundedStruct

Source§

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

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

impl LowerHex for BoundedStruct

Source§

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

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

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

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

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

Performs the *= operation. Read more
Source§

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

Source§

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

Performs the *= operation. Read more
Source§

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

Source§

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

Performs the *= operation. Read more
Source§

impl MulAssign<BoundedStruct> for i8

Source§

fn mul_assign(&mut self, rhs: BoundedStruct)

Performs the *= operation. Read more
Source§

impl MulAssign<i8> for BoundedStruct

Source§

fn mul_assign(&mut self, rhs: i8)

Performs the *= operation. Read more
Source§

impl MulAssign for BoundedStruct

Source§

fn mul_assign(&mut self, rhs: BoundedStruct)

Performs the *= operation. Read more
Source§

impl Neg for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Not for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Not for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Octal for BoundedStruct

Source§

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

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

impl Ord for BoundedStruct

Source§

fn cmp(&self, other: &BoundedStruct) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

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

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

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

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

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

impl PartialEq<BoundedStruct> for i8

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<i8> for BoundedStruct

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for BoundedStruct

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd<BoundedStruct> for i8

Source§

fn partial_cmp(&self, other: &BoundedStruct) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd<i8> for BoundedStruct

Source§

fn partial_cmp(&self, other: &i8) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl PartialOrd for BoundedStruct

Source§

fn partial_cmp(&self, other: &BoundedStruct) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<'a> Product<&'a BoundedStruct> for BoundedStruct

Source§

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

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

impl<'a> Product<&'a BoundedStruct> for i8

Source§

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

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

impl Product<BoundedStruct> for i8

Source§

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

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

impl Product for BoundedStruct

Source§

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

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

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

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

impl Rem for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the % operator.
Source§

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

Performs the % operation. Read more
Source§

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

Source§

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

Performs the %= operation. Read more
Source§

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

Source§

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

Performs the %= operation. Read more
Source§

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

Source§

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

Performs the %= operation. Read more
Source§

impl RemAssign<BoundedStruct> for i8

Source§

fn rem_assign(&mut self, rhs: BoundedStruct)

Performs the %= operation. Read more
Source§

impl RemAssign<i8> for BoundedStruct

Source§

fn rem_assign(&mut self, rhs: i8)

Performs the %= operation. Read more
Source§

impl RemAssign for BoundedStruct

Source§

fn rem_assign(&mut self, rhs: BoundedStruct)

Performs the %= operation. Read more
Source§

impl Serialize for BoundedStruct

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 BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = i8

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = i8

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

impl Shl<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

impl Shl<BoundedStruct> for &i8

Source§

type Output = i8

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

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

Performs the << operation. Read more
Source§

impl Shl<BoundedStruct> for i8

Source§

type Output = i8

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

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

Performs the << operation. Read more
Source§

impl Shl<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

impl Shl for BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the << operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

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

Source§

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

Performs the <<= operation. Read more
Source§

impl ShlAssign<BoundedStruct> for i8

Source§

fn shl_assign(&mut self, rhs: BoundedStruct)

Performs the <<= operation. Read more
Source§

impl ShlAssign<i8> for BoundedStruct

Source§

fn shl_assign(&mut self, rhs: i8)

Performs the <<= operation. Read more
Source§

impl ShlAssign for BoundedStruct

Source§

fn shl_assign(&mut self, rhs: BoundedStruct)

Performs the <<= operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = i8

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = i8

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

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

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

impl Shr<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

impl Shr<BoundedStruct> for &i8

Source§

type Output = i8

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

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

Performs the >> operation. Read more
Source§

impl Shr<BoundedStruct> for i8

Source§

type Output = i8

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

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

Performs the >> operation. Read more
Source§

impl Shr<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

impl Shr for BoundedStruct

Source§

type Output = BoundedStruct

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

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

Performs the >> operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

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

Source§

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

Performs the >>= operation. Read more
Source§

impl ShrAssign<BoundedStruct> for i8

Source§

fn shr_assign(&mut self, rhs: BoundedStruct)

Performs the >>= operation. Read more
Source§

impl ShrAssign<i8> for BoundedStruct

Source§

fn shr_assign(&mut self, rhs: i8)

Performs the >>= operation. Read more
Source§

impl ShrAssign for BoundedStruct

Source§

fn shr_assign(&mut self, rhs: BoundedStruct)

Performs the >>= operation. Read more
Source§

impl Step for BoundedStruct

Source§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedStruct> for &BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedStruct> for &i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<BoundedStruct> for i8

Source§

type Output = i8

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub<i8> for &BoundedStruct

Source§

type Output = BoundedStruct

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 BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

impl Sub for BoundedStruct

Source§

type Output = BoundedStruct

The resulting type after applying the - operator.
Source§

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

Performs the - operation. Read more
Source§

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

Source§

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

Performs the -= operation. Read more
Source§

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

Source§

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

Performs the -= operation. Read more
Source§

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

Source§

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

Performs the -= operation. Read more
Source§

impl SubAssign<BoundedStruct> for i8

Source§

fn sub_assign(&mut self, rhs: BoundedStruct)

Performs the -= operation. Read more
Source§

impl SubAssign<i8> for BoundedStruct

Source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
Source§

impl SubAssign for BoundedStruct

Source§

fn sub_assign(&mut self, rhs: BoundedStruct)

Performs the -= operation. Read more
Source§

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

Source§

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

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

impl<'a> Sum<&'a BoundedStruct> for i8

Source§

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

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

impl Sum<BoundedStruct> for i8

Source§

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

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

impl Sum for BoundedStruct

Source§

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

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

impl UpperExp for BoundedStruct

Source§

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

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

impl UpperHex for BoundedStruct

Source§

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

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

impl Zeroable for BoundedStruct

Source§

fn zeroed() -> Self

Source§

impl Copy for BoundedStruct

Source§

impl Eq for BoundedStruct

Source§

impl IntoBytes for BoundedStruct
where i8: IntoBytes,

Source§

impl StructuralPartialEq for BoundedStruct

Source§

impl Unaligned for BoundedStruct
where i8: Unaligned,

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

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

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

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

Source§

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

Source§

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