Class Raw::ExternBlock
INTERNAL: Do not use. An extern block containing foreign function declarations.
For example:
extern "C" {
fn foo();
}
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAbi | Gets the abi of this extern block, if it exists. |
| getAttr | Gets the |
| getExternItemList | Gets the extern item list of this extern block, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this extern block. |
| isUnsafe | Holds if this extern block is unsafe. |
| toString |
Inherited predicates
| getAttributeMacroExpansion | Gets the attribute macro expansion of this item, if it exists. | from Item |