pub struct GlobalAtoms { /* private fields */ }Implementations§
Source§impl GlobalAtoms
impl GlobalAtoms
Source§impl GlobalAtoms
impl GlobalAtoms
pub fn checked_add(self, other: Self) -> Result<GlobalAtoms, ManifestError>
pub fn checked_sub(self, other: Self) -> Result<GlobalAtoms, ManifestError>
Source§impl GlobalAtoms
impl GlobalAtoms
pub fn overflowing_add(self, other: Self) -> (GlobalAtoms, bool)
pub fn saturating_add(self, other: Self) -> GlobalAtoms
pub fn saturating_sub(self, other: Self) -> GlobalAtoms
pub fn wrapping_add(self, other: Self) -> GlobalAtoms
pub fn wrapping_sub(self, other: Self) -> GlobalAtoms
Trait Implementations§
Source§impl Add for GlobalAtoms
impl Add for GlobalAtoms
Source§impl AddAssign for GlobalAtoms
impl AddAssign for GlobalAtoms
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moreSource§impl BorshDeserialize for GlobalAtomswhere
u64: BorshDeserialize,
impl BorshDeserialize for GlobalAtomswhere
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 GlobalAtomswhere
u64: BorshSerialize,
impl BorshSerialize for GlobalAtomswhere
u64: BorshSerialize,
Source§impl Clone for GlobalAtoms
impl Clone for GlobalAtoms
Source§fn clone(&self) -> GlobalAtoms
fn clone(&self) -> GlobalAtoms
Returns a duplicate 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 GlobalAtoms
impl Debug for GlobalAtoms
Source§impl Default for GlobalAtoms
impl Default for GlobalAtoms
Source§impl Display for GlobalAtoms
impl Display for GlobalAtoms
Source§impl From<GlobalAtoms> for u64
impl From<GlobalAtoms> for u64
Source§fn from(x: GlobalAtoms) -> u64
fn from(x: GlobalAtoms) -> u64
Converts to this type from the input type.
Source§impl Ord for GlobalAtoms
impl Ord for GlobalAtoms
Source§fn cmp(&self, other: &GlobalAtoms) -> Ordering
fn cmp(&self, other: &GlobalAtoms) -> 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<GlobalAtoms> for u64
impl PartialEq<GlobalAtoms> for u64
Source§impl PartialEq<u64> for GlobalAtoms
impl PartialEq<u64> for GlobalAtoms
Source§impl PartialEq for GlobalAtoms
impl PartialEq for GlobalAtoms
Source§impl PartialOrd for GlobalAtoms
impl PartialOrd for GlobalAtoms
Source§impl Sub for GlobalAtoms
impl Sub for GlobalAtoms
Source§impl SubAssign for GlobalAtoms
impl SubAssign for GlobalAtoms
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-= operation. Read moreSource§impl WrapperU64 for GlobalAtoms
impl WrapperU64 for GlobalAtoms
impl Copy for GlobalAtoms
impl Eq for GlobalAtoms
impl Pod for GlobalAtoms
Auto Trait Implementations§
impl Freeze for GlobalAtoms
impl RefUnwindSafe for GlobalAtoms
impl Send for GlobalAtoms
impl Sync for GlobalAtoms
impl Unpin for GlobalAtoms
impl UnwindSafe for GlobalAtoms
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