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

Class Raw::UseTree

INTERNAL: Do not use. A use tree, that is, the part after the use keyword in a use statement. For example:

use std::collections::HashMap;
use std::collections::*;
use std::collections::HashMap as MyHashMap;
use std::collections::{self, HashMap, HashSet};

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getPath

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

getRename

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

getUseTreeList

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

isGlob

Holds if this use tree is glob.

toString