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

Class Raw::TraitAlias

INTERNAL: Do not use. A trait alias.

For example:

trait Foo = Bar + Baz;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getGenericParamList

Gets the generic parameter list of this trait alias, if it exists.

getName

Gets the name of this trait alias, if it exists.

getNumberOfAttrs

Gets the number of attrs of this trait alias.

getTypeBoundList

Gets the type bound list of this trait alias, if it exists.

getVisibility

Gets the visibility of this trait alias, if it exists.

getWhereClause

Gets the where clause of this trait alias, if it exists.

toString

Inherited predicates

getAttributeMacroExpansion

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

from Item