[][src]Enum rustpython_parser::ast::UnaryOperator

pub enum UnaryOperator {
    Pos,
    Neg,
    Not,
    Inv,
}

An unary operator. This is an operation with only a single operand.

Variants

Pos
Neg
Not
Inv

Trait Implementations

impl Debug for UnaryOperator[src]

impl PartialEq<UnaryOperator> for UnaryOperator[src]

impl StructuralPartialEq for UnaryOperator[src]

Auto Trait Implementations

impl RefUnwindSafe for UnaryOperator

impl Send for UnaryOperator

impl Sync for UnaryOperator

impl Unpin for UnaryOperator

impl UnwindSafe for UnaryOperator

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> From<T> for T[src]

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

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.