Enum racer::MatchType [−][src]
pub enum MatchType {}Show variants
Struct(Box<GenericsArgs>), Module, MatchArm, Function, Method(Option<Box<GenericsArgs>>), Crate, Let(BytePos), IfLet(BytePos), WhileLet(BytePos), For(BytePos), StructField, Enum(Box<GenericsArgs>), Union(Box<GenericsArgs>), EnumVariant(Option<Box<Match>>), UseAlias(Box<Match>), AssocType, Type, FnArg(Box<(Pat, Option<Ty>)>), Trait, Const, Static, Macro, Builtin(PrimKind), TypeParameter(Box<TraitBounds>),
Expand description
Within a Match
, specifies what was matched
Variants
Struct(Box<GenericsArgs>)
Let(BytePos)
IfLet(BytePos)
WhileLet(BytePos)
For(BytePos)
Enum(Box<GenericsArgs>)
Union(Box<GenericsArgs>)
EnumVariant needs to have Enum type to complete methods
Builtin(PrimKind)
TypeParameter(Box<TraitBounds>)
fn f<T: Clone> or fn f(a: impl Clone) with its trait bounds
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MatchType
impl UnwindSafe for MatchType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V