Struct scrypto::prelude::IntegerNonFungibleLocalId
source · pub struct IntegerNonFungibleLocalId(u64);
Expand description
Unsigned integers, up to u64.
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
source§impl Clone for IntegerNonFungibleLocalId
impl Clone for IntegerNonFungibleLocalId
source§fn clone(&self) -> IntegerNonFungibleLocalId
fn clone(&self) -> IntegerNonFungibleLocalId
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 From<IntegerNonFungibleLocalId> for NonFungibleLocalId
impl From<IntegerNonFungibleLocalId> for NonFungibleLocalId
source§fn from(value: IntegerNonFungibleLocalId) -> NonFungibleLocalId
fn from(value: IntegerNonFungibleLocalId) -> NonFungibleLocalId
Converts to this type from the input type.
source§impl From<u64> for IntegerNonFungibleLocalId
impl From<u64> for IntegerNonFungibleLocalId
source§fn from(value: u64) -> IntegerNonFungibleLocalId
fn from(value: u64) -> IntegerNonFungibleLocalId
Converts to this type from the input type.
source§impl Hash for IntegerNonFungibleLocalId
impl Hash for IntegerNonFungibleLocalId
source§impl IsNonFungibleLocalId for IntegerNonFungibleLocalId
impl IsNonFungibleLocalId for IntegerNonFungibleLocalId
fn id_type() -> NonFungibleIdType
source§impl Ord for IntegerNonFungibleLocalId
impl Ord for IntegerNonFungibleLocalId
source§fn cmp(&self, other: &IntegerNonFungibleLocalId) -> Ordering
fn cmp(&self, other: &IntegerNonFungibleLocalId) -> 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 for IntegerNonFungibleLocalId
impl PartialEq for IntegerNonFungibleLocalId
source§fn eq(&self, other: &IntegerNonFungibleLocalId) -> bool
fn eq(&self, other: &IntegerNonFungibleLocalId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IntegerNonFungibleLocalId
impl PartialOrd for IntegerNonFungibleLocalId
source§fn partial_cmp(&self, other: &IntegerNonFungibleLocalId) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegerNonFungibleLocalId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Eq for IntegerNonFungibleLocalId
impl IsNonAutoGeneratedNonFungibleLocalId for IntegerNonFungibleLocalId
impl StructuralPartialEq for IntegerNonFungibleLocalId
Auto Trait Implementations§
impl RefUnwindSafe for IntegerNonFungibleLocalId
impl Send for IntegerNonFungibleLocalId
impl Sync for IntegerNonFungibleLocalId
impl Unpin for IntegerNonFungibleLocalId
impl UnwindSafe for IntegerNonFungibleLocalId
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more