Struct wasmer_config::package::NamedPackageId
source · pub struct NamedPackageId {
pub full_name: String,
pub version: Version,
}
Fields§
§full_name: String
§version: Version
Implementations§
Trait Implementations§
source§impl Clone for NamedPackageId
impl Clone for NamedPackageId
source§fn clone(&self) -> NamedPackageId
fn clone(&self) -> NamedPackageId
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 NamedPackageId
impl Debug for NamedPackageId
source§impl Display for NamedPackageId
impl Display for NamedPackageId
source§impl From<NamedPackageId> for NamedPackageIdent
impl From<NamedPackageId> for NamedPackageIdent
source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
source§impl From<NamedPackageId> for PackageId
impl From<NamedPackageId> for PackageId
source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
source§impl From<NamedPackageId> for PackageSource
impl From<NamedPackageId> for PackageSource
source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
source§impl Hash for NamedPackageId
impl Hash for NamedPackageId
source§impl Ord for NamedPackageId
impl Ord for NamedPackageId
source§fn cmp(&self, other: &NamedPackageId) -> Ordering
fn cmp(&self, other: &NamedPackageId) -> 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 NamedPackageId
impl PartialEq for NamedPackageId
source§fn eq(&self, other: &NamedPackageId) -> bool
fn eq(&self, other: &NamedPackageId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NamedPackageId
impl PartialOrd for NamedPackageId
source§fn partial_cmp(&self, other: &NamedPackageId) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedPackageId) -> 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 NamedPackageId
impl StructuralPartialEq for NamedPackageId
Auto Trait Implementations§
impl Freeze for NamedPackageId
impl RefUnwindSafe for NamedPackageId
impl Send for NamedPackageId
impl Sync for NamedPackageId
impl Unpin for NamedPackageId
impl UnwindSafe for NamedPackageId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
§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
Compare self to
key
and return true
if they are equal.