Enum ra_ap_syntax::ast::PathSegmentKind
source · [−]pub enum PathSegmentKind {
Name(NameRef),
Type {
type_ref: Option<Type>,
trait_ref: Option<PathType>,
},
SelfKw,
SuperKw,
CrateKw,
}
Variants
Name(NameRef)
Type
SelfKw
SuperKw
CrateKw
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for PathSegmentKind
impl !Send for PathSegmentKind
impl !Sync for PathSegmentKind
impl Unpin for PathSegmentKind
impl !UnwindSafe for PathSegmentKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.