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

Class Raw::PathSegment

INTERNAL: Do not use. A path segment, which is one part of a whole path. For example:

  • HashMap
  • HashMap<K, V>
  • Fn(i32) -> i32
  • widgets(..)
  • <T as Iterator>

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getGenericArgList

Gets the generic argument list of this path segment, if it exists.

getIdentifier

Gets the identifier of this path segment, if it exists.

getParenthesizedArgList

Gets the parenthesized argument list of this path segment, if it exists.

getRetType

Gets the ret type of this path segment, if it exists.

getReturnTypeSyntax

Gets the return type syntax of this path segment, if it exists.

getTraitTypeRepr

Gets the trait type representation of this path segment, if it exists.

getTypeRepr

Gets the type representation of this path segment, if it exists.

toString