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

pub enum LogOp {
    LogAnd,
    LogOr,
}

A logical operation between 2 boolean values

Variants

LogAnd

a && b - Logical and

LogOr

a || b - Logical or

Trait Implementations

impl Show for LogOp

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

Derived Implementations

impl PartialEq for LogOp

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

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

impl Clone for LogOp

fn clone(&self) -> LogOp

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