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

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 unsafe fn new_ref_unchecked(n: &i8) -> &Self

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

Safety

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

source

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

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

Safety

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

source

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

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

source

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

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

source

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

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

source

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

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

source

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

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

source

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

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

Panics

Panics if radix is below 2 or above 36.

source

pub const fn get(self) -> i8

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

source

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

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

source

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

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

Safety

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

source

pub const fn abs(self) -> Self

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

source

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

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

source

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

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

source

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

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

source

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

Checked integer addition.

source

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

Saturating integer addition.

source

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

Checked integer subtraction.

source

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

Saturating integer subtraction.

source

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

Checked integer multiplication.

source

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

Saturating integer multiplication.

source

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

Checked integer division.

source

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

Checked Euclidean division.

source

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

Checked integer remainder.

source

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

Checked Euclidean remainder.

source

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

Checked negation.

source

pub const fn saturating_neg(self) -> Self

Saturating negation.

source

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

Checked absolute value.

source

pub const fn saturating_abs(self) -> Self

Saturating absolute value.

source

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

Checked exponentiation.

source

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

Saturating exponentiation.

source

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

Checked shift left.

source

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

Checked shift right.

Trait Implementations§

source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn add_assign(&mut self, rhs: BoundedStruct)

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

impl AsBytes for BoundedStruct

source§

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

Gets the bytes of this value. Read more
source§

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

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

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

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

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

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

impl AsRef<i8> for 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.
source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn bitand_assign(&mut self, rhs: BoundedStruct)

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn bitor_assign(&mut self, rhs: BoundedStruct)

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn bitxor_assign(&mut self, rhs: BoundedStruct)

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

§

type Int = i8

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

const MAX_VALUE: i8 = 7i8

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

const MIN_VALUE: i8 = -8i8

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

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

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

fn into_integer(self) -> Self::Int

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

impl Debug for 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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn div_assign(&mut self, rhs: BoundedStruct)

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

§

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

impl LowerHex for BoundedStruct

source§

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

Formats the value using the given formatter.
source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn mul_assign(&mut self, rhs: BoundedStruct)

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

§

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

§

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

§

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

§

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

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

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

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

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

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

impl PartialEq<BoundedStruct> for BoundedStruct

source§

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

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

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

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

impl PartialEq<BoundedStruct> for i8

source§

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

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

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

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

impl PartialEq<i8> for BoundedStruct

source§

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

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

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

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

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

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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

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

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

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

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

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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

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

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

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd<i8> for 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

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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

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

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

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

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

source§

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

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

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

source§

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

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

impl Product<BoundedStruct> for BoundedStruct

source§

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

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

impl Product<BoundedStruct> for i8

source§

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

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

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn rem_assign(&mut self, rhs: BoundedStruct)

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn shl_assign(&mut self, rhs: BoundedStruct)

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn shr_assign(&mut self, rhs: BoundedStruct)

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

source§

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

🔬This is a nightly-only experimental API. (step_trait)
Returns the number of successor steps required to get from start to end. Read more
source§

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

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

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

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

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

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

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

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

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

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

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

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

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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 BoundedStruct

§

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

§

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

§

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

§

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

source§

fn sub_assign(&mut self, rhs: BoundedStruct)

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

source§

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

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

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

source§

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

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

impl Sum<BoundedStruct> for BoundedStruct

source§

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

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

impl Sum<BoundedStruct> for i8

source§

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

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

impl UpperHex for BoundedStruct

source§

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

Formats the value using the given formatter.
source§

impl Zeroable for BoundedStruct

source§

fn zeroed() -> Self

source§

impl Copy for BoundedStruct

source§

impl Eq for BoundedStruct

source§

impl StructuralEq for BoundedStruct

source§

impl StructuralPartialEq for BoundedStruct

source§

impl Unaligned for BoundedStruct

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

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

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

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

source§

default fn to_string(&self) -> String

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

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

§

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

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

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

Performs the conversion.
source§

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

source§

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

source§

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

source§

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