#[repr(transparent)]
pub struct NumRepr<U: Uint>(pub U);
The resulting type after applying the +
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Add<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the +
operator.
The resulting type after applying the +
operator.
The resulting type after applying the +
operator.
The resulting type after applying the &
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> BitAnd<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the &
operator.
The resulting type after applying the &
operator.
The resulting type after applying the &
operator.
The resulting type after applying the |
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> BitOr<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the |
operator.
The resulting type after applying the |
operator.
The resulting type after applying the |
operator.
The resulting type after applying the ^
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> BitXor<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the ^
operator.
The resulting type after applying the ^
operator.
The resulting type after applying the ^
operator.
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
Whether Self is u8.
NOTE: Vec<u8>
is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8>
implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Serialize this instance into a vector of bytes.
Whether Self is u8.
NOTE: Vec<u8>
is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8>
implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the /
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Div<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the /
operator.
The resulting type after applying the /
operator.
The resulting type after applying the /
operator.
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
Formats the value using the given formatter.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Mul<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the *
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Mul<&'macro_lifetime_a u64> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
The resulting type after applying the -
operator.
The resulting type after applying the -
operator.
The resulting type after applying the !
operator.
The resulting type after applying the !
operator.
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
The resulting type after applying the %
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Rem<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the %
operator.
The resulting type after applying the %
operator.
The resulting type after applying the %
operator.
Serialize this value into the given Serde serializer. Read more
The resulting type after applying the <<
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Shl<&'macro_lifetime_a u32> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the <<
operator.
The resulting type after applying the <<
operator.
The resulting type after applying the <<
operator.
The resulting type after applying the >>
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Shr<&'macro_lifetime_a u32> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the >>
operator.
The resulting type after applying the >>
operator.
The resulting type after applying the >>
operator.
The resulting type after applying the -
operator.
impl<'macro_lifetime_a, 'macro_lifetime_b, U: Uint> Sub<&'macro_lifetime_a NumRepr<U>> for &'macro_lifetime_b NumRepr<U>
The resulting type after applying the -
operator.
The resulting type after applying the -
operator.
The resulting type after applying the -
operator.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,