[][src]Struct rnix::types::BinOp

pub struct BinOp(_);

Methods

impl BinOp[src]

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

Return the left hand side of the binary operation

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

Return the operator

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

Return the right hand side of the binary operation

Trait Implementations

impl TypedNode for BinOp[src]

impl Clone for BinOp[src]

Auto Trait Implementations

impl !Sync for BinOp

impl Unpin for BinOp

impl !Send for BinOp

impl !UnwindSafe for BinOp

impl !RefUnwindSafe for BinOp

Blanket Implementations

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.

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

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

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