Skip to main content

Computable

Trait Computable 

Source
pub trait Computable {
    // Required method
    fn compute(
        &self,
        idr: Rc<dyn IdentifierResolver>,
    ) -> Result<PaxValue, String>;
}
Expand description

Trait for expression types that can be computed to a value

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§