Trait rust_ad_core::traits::UnwrapExpr[][src]

pub trait UnwrapExpr {
    fn binary(&self) -> Result<&'_ ExprBinary, &'static str>;
fn binary_mut(&mut self) -> Result<&'_ mut ExprBinary, &'static str>;
fn block(&self) -> Result<&'_ ExprBlock, &'static str>;
fn block_mut(&mut self) -> Result<&'_ mut ExprBlock, &'static str>;
fn path(&self) -> Result<&'_ ExprPath, &'static str>;
fn return_(&self) -> Result<&'_ ExprReturn, &'static str>;
fn return_mut(&mut self) -> Result<&'_ mut ExprReturn, &'static str>;
fn call(&self) -> Result<&'_ ExprCall, &'static str>;
fn call_mut(&mut self) -> Result<&'_ mut ExprCall, &'static str>;
fn method_call(&self) -> Result<&'_ ExprMethodCall, &'static str>;
fn method_call_mut(
        &mut self
    ) -> Result<&'_ mut ExprMethodCall, &'static str>; }

Required methods

Implementations on Foreign Types

Implementors