pub struct PackageKey { /* private fields */ }
Expand description
Represents a package key that can be used in associative containers.
Implementations§
Trait Implementations§
Source§impl<'a> Borrow<dyn BorrowedKey + 'a> for PackageKey
impl<'a> Borrow<dyn BorrowedKey + 'a> for PackageKey
Source§fn borrow(&self) -> &(dyn BorrowedKey + 'a)
fn borrow(&self) -> &(dyn BorrowedKey + 'a)
Immutably borrows from an owned value. Read more
Source§impl BorrowedKey for PackageKey
impl BorrowedKey for PackageKey
Source§fn borrowed_key(&self) -> BorrowedPackageKey<'_>
fn borrowed_key(&self) -> BorrowedPackageKey<'_>
Borrows the key as a borrowed package key.
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 Display for PackageKey
impl Display 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 for PackageKey
impl PartialEq for PackageKey
Source§impl PartialOrd for PackageKey
impl PartialOrd 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.