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