Enum ra_ap_syntax::ast::Type [−][src]
pub enum Type {}Show 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
#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
[src]Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.