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)
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)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Type
impl !UnwindSafe for Type
Blanket Implementations
fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.