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

pub enum KleeneOp {
    ZeroOrMore,
    OneOrMore,
}

A Kleene-style repetition operator for token sequences.

Variants

ZeroOrMore
OneOrMore

Trait Implementations

Derived Implementations

impl Copy for KleeneOp

impl Debug for KleeneOp

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

impl Hash for KleeneOp

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

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

impl Decodable for KleeneOp

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

impl Encodable for KleeneOp

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

impl Eq for KleeneOp

fn assert_receiver_is_total_eq(&self)

impl PartialEq for KleeneOp

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

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

impl Clone for KleeneOp

fn clone(&self) -> KleeneOp

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