Skip to main content

AliasingOp

Trait AliasingOp 

Source
pub trait AliasingOp: Op + OneResultInterface {
    // Required method
    fn source_ptr(&self, ctx: &Context) -> Option<Value>;

    // Provided method
    fn verify(_op: &dyn Op, _ctx: &Context) -> Result<()>
       where Self: Sized { ... }
}

Required Methods§

Source

fn source_ptr(&self, ctx: &Context) -> Option<Value>

Provided Methods§

Source

fn verify(_op: &dyn Op, _ctx: &Context) -> Result<()>
where Self: Sized,

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§