Enum js::syntax::ast::op::BitOp[src]

pub enum BitOp {
    BitAnd,
    BitOr,
    BitXor,
    BitShl,
    BitShr,
}

A bitwise operation between 2 values

Variants

BitAnd

a & b - Bitwise and

BitOr

a | b - Bitwise or

BitXor

a ^ b - Bitwise xor

BitShl

a << b - Bit-shift leftwards

BitShr

a >> b - Bit-shift rightrights

Trait Implementations

impl Show for BitOp

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

Derived Implementations

impl PartialEq for BitOp

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

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

impl Clone for BitOp

fn clone(&self) -> BitOp

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