pub struct QuoteAtoms { /* private fields */ }Implementations§
Source§impl QuoteAtoms
impl QuoteAtoms
Source§impl QuoteAtoms
impl QuoteAtoms
pub fn checked_add(self, other: Self) -> Result<QuoteAtoms, ManifestError>
pub fn checked_sub(self, other: Self) -> Result<QuoteAtoms, ManifestError>
Source§impl QuoteAtoms
impl QuoteAtoms
pub fn overflowing_add(self, other: Self) -> (QuoteAtoms, bool)
pub fn saturating_add(self, other: Self) -> QuoteAtoms
pub fn saturating_sub(self, other: Self) -> QuoteAtoms
pub fn wrapping_add(self, other: Self) -> QuoteAtoms
pub fn wrapping_sub(self, other: Self) -> QuoteAtoms
Trait Implementations§
Source§impl Add for QuoteAtoms
impl Add for QuoteAtoms
Source§impl AddAssign for QuoteAtoms
impl AddAssign for QuoteAtoms
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moreSource§impl BorshDeserialize for QuoteAtomswhere
u64: BorshDeserialize,
impl BorshDeserialize for QuoteAtomswhere
u64: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for QuoteAtomswhere
u64: BorshSerialize,
impl BorshSerialize for QuoteAtomswhere
u64: BorshSerialize,
Source§impl Clone for QuoteAtoms
impl Clone for QuoteAtoms
Source§fn clone(&self) -> QuoteAtoms
fn clone(&self) -> QuoteAtoms
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuoteAtoms
impl Debug for QuoteAtoms
Source§impl Default for QuoteAtoms
impl Default for QuoteAtoms
Source§impl Display for QuoteAtoms
impl Display for QuoteAtoms
Source§impl From<QuoteAtoms> for u64
impl From<QuoteAtoms> for u64
Source§fn from(x: QuoteAtoms) -> u64
fn from(x: QuoteAtoms) -> u64
Converts to this type from the input type.
Source§impl Ord for QuoteAtoms
impl Ord for QuoteAtoms
Source§fn cmp(&self, other: &QuoteAtoms) -> Ordering
fn cmp(&self, other: &QuoteAtoms) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<QuoteAtoms> for u64
impl PartialEq<QuoteAtoms> for u64
Source§impl PartialEq<u64> for QuoteAtoms
impl PartialEq<u64> for QuoteAtoms
Source§impl PartialEq for QuoteAtoms
impl PartialEq for QuoteAtoms
Source§impl PartialOrd for QuoteAtoms
impl PartialOrd for QuoteAtoms
Source§impl Sub for QuoteAtoms
impl Sub for QuoteAtoms
Source§impl SubAssign for QuoteAtoms
impl SubAssign for QuoteAtoms
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-= operation. Read moreSource§impl WrapperU64 for QuoteAtoms
impl WrapperU64 for QuoteAtoms
impl Copy for QuoteAtoms
impl Eq for QuoteAtoms
impl Pod for QuoteAtoms
Auto Trait Implementations§
impl Freeze for QuoteAtoms
impl RefUnwindSafe for QuoteAtoms
impl Send for QuoteAtoms
impl Sync for QuoteAtoms
impl Unpin for QuoteAtoms
impl UnwindSafe for QuoteAtoms
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DerefOrBorrow<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrow<T> for Twhere
T: ?Sized,
fn deref_or_borrow(&self) -> &T
Source§impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
fn deref_or_borrow_mut(&mut self) -> &mut T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more