pub struct Kid {
pub repr: String,
/* private fields */
}
Expand description
A crate’s unique identifier
Fields§
§repr: String
The full package id string as supplied by cargo
Implementations§
Trait Implementations§
source§impl Ord for Kid
impl Ord for Kid
source§impl PartialEq for Kid
impl PartialEq for Kid
source§impl PartialOrd for Kid
impl PartialOrd for Kid
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 Kid
Auto Trait Implementations§
impl Freeze for Kid
impl RefUnwindSafe for Kid
impl Send for Kid
impl Sync for Kid
impl Unpin for Kid
impl UnwindSafe for Kid
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<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.