Enum syntax::ast::KleeneOpExperimental [-]  [+] [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 Show for KleeneOp

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

impl<__S: Writer> Hash<__S> for KleeneOp

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for KleeneOp

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for KleeneOp

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

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)