CodeQL library for Rust
codeql/rust-all 0.2.12 (changelog, source)
Search

Class Raw::Use

INTERNAL: Do not use. A use statement. For example:

use std::collections::HashMap;

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this use (0-based).

getNumberOfAttrs

Gets the number of attrs of this use.

getUseTree

Gets the use tree of this use, if it exists.

getVisibility

Gets the visibility of this use, if it exists.

toString

Inherited predicates

getAttributeMacroExpansion

Gets the attribute macro expansion of this item, if it exists.

from Item