[][src]Struct rnix::types::UnaryOp

pub struct UnaryOp(_);

Methods

impl UnaryOp[src]

pub fn operator(&self) -> UnaryOpKind[src]

Return the operator

pub fn value(&self) -> Option<SyntaxNode>[src]

Return the value in the operation

Trait Implementations

impl TypedNode for UnaryOp[src]

impl Clone for UnaryOp[src]

Auto Trait Implementations

impl Unpin for UnaryOp

impl !Sync for UnaryOp

impl !Send for UnaryOp

impl !UnwindSafe for UnaryOp

impl !RefUnwindSafe for UnaryOp

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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