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

pub enum PatWildKind {
    PatWildSingle,
    PatWildMulti,
}

Variants

PatWildSingle

Represents the wildcard pattern _

PatWildMulti

Represents the wildcard pattern ..

Trait Implementations

Derived Implementations

impl Copy for PatWildKind

impl Debug for PatWildKind

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

impl Hash for PatWildKind

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

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

impl Decodable for PatWildKind

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

impl Encodable for PatWildKind

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

impl Eq for PatWildKind

fn assert_receiver_is_total_eq(&self)

impl PartialEq for PatWildKind

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

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

impl Clone for PatWildKind

fn clone(&self) -> PatWildKind

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