Skip to main content

ResolvedOpArgExt

Trait ResolvedOpArgExt 

Source
pub trait ResolvedOpArgExt: Sized {
    // Required methods
    fn value<'a>(&self, args: &'a [Value]) -> Result<&'a Value>;
    fn take_value(&self, args: &mut [Value]) -> Result<Value>;
}

Required Methods§

Source

fn value<'a>(&self, args: &'a [Value]) -> Result<&'a Value>

Source

fn take_value(&self, args: &mut [Value]) -> Result<Value>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ResolvedOpArgExt for Option<ResolvedOpArg>

Source§

fn value<'a>(&self, args: &'a [Value]) -> Result<&'a Value>

Source§

fn take_value(&self, args: &mut [Value]) -> Result<Value>

Implementors§