Enum syntex_syntax::ast::UnOp [] [src]

pub enum UnOp {
    UnDeref,
    UnNot,
    UnNeg,
}

Variants

UnDeref

The * operator for dereferencing

UnNot

The ! operator for logical inversion

UnNeg

The - operator for negation

Trait Implementations

Derived Implementations

impl Copy for UnOp

impl Debug for UnOp

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

impl Hash for UnOp

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

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

impl Decodable for UnOp

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

impl Encodable for UnOp

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

impl Eq for UnOp

impl PartialEq for UnOp

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

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

impl Clone for UnOp

fn clone(&self) -> UnOp

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