pub enum TypeNs {
StructId(StructId),
TypeAliasId(TypeAliasId),
PrimitiveType(PrimitiveType),
}
Variants§
Trait Implementations§
impl Eq for TypeNs
impl StructuralEq for TypeNs
impl StructuralPartialEq for TypeNs
Auto Trait Implementations§
impl RefUnwindSafe for TypeNs
impl Send for TypeNs
impl Sync for TypeNs
impl Unpin for TypeNs
impl UnwindSafe for TypeNs
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.