Enum syntax::ast::UnOp [−] [src]

pub enum UnOp {
    UnUniq,
    UnDeref,
    UnNot,
    UnNeg,
}
Unstable

Variants

UnUniq
Unstable

The box operator

UnDeref
Unstable

The * operator for dereferencing

UnNot
Unstable

The ! operator for logical inversion

UnNeg
Unstable

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>

impl Encodable for UnOp

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

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)