pub struct PackageKey(/* private fields */);
Trait Implementations§
Source§impl Clone for PackageKey
impl Clone for PackageKey
Source§fn clone(&self) -> PackageKey
fn clone(&self) -> PackageKey
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 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<KeyData> for PackageKey
impl From<KeyData> for PackageKey
Source§impl From<PackageKey> for KeyData
impl From<PackageKey> for KeyData
Source§fn from(k: PackageKey) -> Self
fn from(k: PackageKey) -> Self
Converts to this type from the input type.
Source§impl Hash for PackageKey
impl Hash for PackageKey
Source§impl Key for PackageKey
impl Key for PackageKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moreSource§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 for PackageKey
impl PartialEq for PackageKey
Source§impl PartialOrd for PackageKey
impl PartialOrd for PackageKey
impl Copy for PackageKey
impl Eq for PackageKey
impl StructuralPartialEq for PackageKey
Auto Trait Implementations§
impl Freeze for PackageKey
impl RefUnwindSafe for PackageKey
impl Send for PackageKey
impl Sync for PackageKey
impl Unpin for PackageKey
impl UnwindSafe for PackageKey
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