INTERNAL: Do not use. An `impl`` block.
For example:
impl MyTrait for MyType {
fn foo(&self) {}
}
Import path
import codeql.rust.elements.internal.generated.RawIndirect supertypes
Known direct subtypes
Predicates
| getAssocItemList | Gets the assoc item list of this impl, if it exists. |
| getAttr | Gets the |
| getGenericParamList | Gets the generic parameter list of this impl, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this impl. |
| getSelfTy | Gets the self ty of this impl, if it exists. |
| getTrait | Gets the trait of this impl, if it exists. |
| getVisibility | Gets the visibility of this impl, if it exists. |
| getWhereClause | Gets the where clause of this impl, if it exists. |
| isConst | Holds if this impl is const. |
| isDefault | Holds if this impl is default. |
| isUnsafe | Holds if this impl is unsafe. |
| toString |
Inherited predicates
| getAttributeMacroExpansion | Gets the attribute macro expansion of this item, if it exists. | from Item |