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

Class Raw::TypeAlias

INTERNAL: Do not use. A type alias. For example:

type Point = (u8, u8);

trait Trait {
    type Output;
//  ^^^^^^^^^^^
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getGenericParamList

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

getName

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

getNumberOfAttrs

Gets the number of attrs of this type alias.

getTypeBoundList

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

getTypeRepr

Gets the type representation of this type alias, if it exists.

getVisibility

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

getWhereClause

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

isDefault

Holds if this type alias is default.

toString

Inherited predicates

getAttributeMacroExpansion

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

from Item