pub enum Neighbor {
Dependency,
Friend,
}
Variants§
Trait Implementations§
source§impl Ord for Neighbor
impl Ord for Neighbor
source§impl PartialEq<Neighbor> for Neighbor
impl PartialEq<Neighbor> for Neighbor
source§impl PartialOrd<Neighbor> for Neighbor
impl PartialOrd<Neighbor> for Neighbor
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 Neighbor
impl StructuralEq for Neighbor
impl StructuralPartialEq for Neighbor
Auto Trait Implementations§
impl RefUnwindSafe for Neighbor
impl Send for Neighbor
impl Sync for Neighbor
impl Unpin for Neighbor
impl UnwindSafe for Neighbor
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.