Enum syntax::ast::MatchSourceUnstable [-] [+] [src]

pub enum MatchSource {
    Normal,
    IfLetDesugar {
        contains_else_clause: bool,
    },
    WhileLetDesugar,
    ForLoopDesugar,
}

Variants

Normal
IfLetDesugar

Fields

contains_else_clause
WhileLetDesugar
ForLoopDesugar

Trait Implementations

Derived Implementations

impl Copy for MatchSource

impl Debug for MatchSource

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for MatchSource

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for MatchSource

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MatchSource, Error>

impl Encodable for MatchSource

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for MatchSource

fn assert_receiver_is_total_eq(&self)

impl PartialEq for MatchSource

fn eq(&self, __arg_0: &MatchSource) -> bool

fn ne(&self, __arg_0: &MatchSource) -> bool

impl Clone for MatchSource

fn clone(&self) -> MatchSource

fn clone_from(&mut self, source: &Self)