Enum rustc::hir::UnOp [] [src]

pub enum UnOp {
    UnDeref,
    UnNot,
    UnNeg,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

The * operator for dereferencing

🔬 This is a nightly-only experimental API. (rustc_private)

The ! operator for logical inversion

🔬 This is a nightly-only experimental API. (rustc_private)

The - operator for negation

Methods

impl UnOp
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Returns true if the unary operator takes its argument by value

Trait Implementations

impl Clone for UnOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UnOp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UnOp
[src]

impl Encodable for UnOp
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for UnOp
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Hash for UnOp
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for UnOp
[src]

Formats the value using the given formatter.

impl Copy for UnOp
[src]