Enum cairo_lang_semantic::items::imp::ImplHead
source · pub enum ImplHead {
Concrete(ImplDefId),
}
Expand description
Head of an impl. A non-param non-variable impl has a head, which represents the kind of the root node in its tree representation. This is used for caching queries for fast lookups when the impl is not completely inferred yet.
Variants§
Trait Implementations§
source§impl PartialEq for ImplHead
impl PartialEq for ImplHead
impl Eq for ImplHead
impl StructuralEq for ImplHead
impl StructuralPartialEq for ImplHead
Auto Trait Implementations§
impl RefUnwindSafe for ImplHead
impl Send for ImplHead
impl Sync for ImplHead
impl Unpin for ImplHead
impl UnwindSafe for ImplHead
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> 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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.