Struct go_vm::types::PackageKey
source · #[repr(transparent)]pub struct PackageKey(_);
Implementations§
source§impl PackageKey
impl PackageKey
Trait Implementations§
source§impl Clone for PackageKey
impl Clone for PackageKey
source§fn clone(&self) -> PackageKey
fn clone(&self) -> PackageKey
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 PackageKey
impl Debug for PackageKey
source§impl Default for PackageKey
impl Default for PackageKey
source§fn default() -> PackageKey
fn default() -> PackageKey
Returns the “default value” for a type. Read more
source§impl From<usize> for PackageKey
impl From<usize> for PackageKey
source§impl Hash for PackageKey
impl Hash for PackageKey
source§impl Ord for PackageKey
impl Ord for PackageKey
source§fn cmp(&self, other: &PackageKey) -> Ordering
fn cmp(&self, other: &PackageKey) -> 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<PackageKey> for PackageKey
impl PartialEq<PackageKey> for PackageKey
source§fn eq(&self, other: &PackageKey) -> bool
fn eq(&self, other: &PackageKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PackageKey> for PackageKey
impl PartialOrd<PackageKey> for PackageKey
source§fn partial_cmp(&self, other: &PackageKey) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageKey) -> 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 more