Enum ra_ap_syntax::ast::Type [−][src]
pub enum Type {
Show 14 variants
ArrayType(ArrayType),
DynTraitType(DynTraitType),
FnPtrType(FnPtrType),
ForType(ForType),
ImplTraitType(ImplTraitType),
InferType(InferType),
MacroType(MacroType),
NeverType(NeverType),
ParenType(ParenType),
PathType(PathType),
PtrType(PtrType),
RefType(RefType),
SliceType(SliceType),
TupleType(TupleType),
}
Variants
ArrayType(ArrayType)
Tuple Fields of ArrayType
0: ArrayType
DynTraitType(DynTraitType)
Tuple Fields of DynTraitType
0: DynTraitType
FnPtrType(FnPtrType)
Tuple Fields of FnPtrType
0: FnPtrType
ForType(ForType)
Tuple Fields of ForType
0: ForType
ImplTraitType(ImplTraitType)
Tuple Fields of ImplTraitType
InferType(InferType)
Tuple Fields of InferType
0: InferType
MacroType(MacroType)
Tuple Fields of MacroType
0: MacroType
NeverType(NeverType)
Tuple Fields of NeverType
0: NeverType
ParenType(ParenType)
Tuple Fields of ParenType
0: ParenType
PathType(PathType)
Tuple Fields of PathType
0: PathType
PtrType(PtrType)
Tuple Fields of PtrType
0: PtrType
RefType(RefType)
Tuple Fields of RefType
0: RefType
SliceType(SliceType)
Tuple Fields of SliceType
0: SliceType
TupleType(TupleType)
Tuple Fields of TupleType
0: TupleType
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Type
impl !UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.