Enum racer::MatchType[][src]

pub enum MatchType {
    Struct,
    Module,
    MatchArm,
    Function,
    Crate,
    Let,
    IfLet,
    WhileLet,
    For,
    StructField,
    Impl,
    TraitImpl,
    Enum,
    EnumVariant(Option<Box<Match>>),
    Type,
    FnArg,
    Trait,
    Const,
    Static,
    Macro,
    Builtin,
}

Within a Match, specifies what was matched

Variants

EnumVariant needs to have Enum type to complete methods

Trait Implementations

impl Debug for MatchType
[src]

Formats the value using the given formatter. Read more

impl Clone for MatchType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MatchType
[src]

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 Send for MatchType

impl Sync for MatchType