[][src]Enum full_moon::ast::UnOp

pub enum UnOp<'a> {
    Minus(TokenReference<'a>),
    Not(TokenReference<'a>),
    Hash(TokenReference<'a>),
}

Operators that require just one operand, such as #X

Variants

Minus(TokenReference<'a>)
Hash(TokenReference<'a>)

Trait Implementations

impl<'a> Clone for UnOp<'a>[src]

impl<'a> Debug for UnOp<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for UnOp<'a>[src]

impl<'a> Node for UnOp<'a>[src]

impl<'a> Owned for UnOp<'a>[src]

type Owned = UnOp<'static>

What an owned version of the object looks like. Usually contains a 'static lifetime.

impl<'a> PartialEq<UnOp<'a>> for UnOp<'a>[src]

impl<'a> Serialize for UnOp<'a>[src]

impl<'a> StructuralPartialEq for UnOp<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for UnOp<'a>

impl<'a> Send for UnOp<'a>

impl<'a> Sync for UnOp<'a>

impl<'a> Unpin for UnOp<'a>

impl<'a> !UnwindSafe for UnOp<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.