Struct ra_ap_hir_def::data::ImplData
source · pub struct ImplData {
pub target_trait: Option<Interned<TraitRef>>,
pub self_ty: Interned<TypeRef>,
pub items: Vec<AssocItemId>,
pub is_negative: bool,
pub attribute_calls: Option<Box<Vec<(AstId<Item>, MacroCallId)>>>,
}
Fields§
§target_trait: Option<Interned<TraitRef>>
§self_ty: Interned<TypeRef>
§items: Vec<AssocItemId>
§is_negative: bool
§attribute_calls: Option<Box<Vec<(AstId<Item>, MacroCallId)>>>
Implementations§
source§impl ImplData
impl ImplData
pub fn attribute_calls(
&self
) -> impl Iterator<Item = (AstId<Item>, MacroCallId)> + '_
Trait Implementations§
source§impl PartialEq<ImplData> for ImplData
impl PartialEq<ImplData> for ImplData
impl Eq for ImplData
impl StructuralEq for ImplData
impl StructuralPartialEq for ImplData
Auto Trait Implementations§
impl RefUnwindSafe for ImplData
impl Send for ImplData
impl Sync for ImplData
impl Unpin for ImplData
impl UnwindSafe for ImplData
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.