Enum syntax::parse::token::BinOp[src]

pub enum BinOp {
    PLUS,
    MINUS,
    STAR,
    SLASH,
    PERCENT,
    CARET,
    AND,
    OR,
    SHL,
    SHR,
}

Variants

PLUS
MINUS
STAR
SLASH
PERCENT
CARET
AND
OR
SHL
SHR

Trait Implementations

Derived Implementations

impl Show for BinOp

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

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

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

impl Eq for BinOp

fn assert_receiver_is_total_eq(&self)

impl PartialEq for BinOp

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

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

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

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

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

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

impl Clone for BinOp

fn clone(&self) -> BinOp

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