pub trait Calc<Quotes> {
type Result;
// Required method
fn calc(q: Quotes) -> Self::Result;
}
Expand description
An s-expression that can calculate a runtime value, given the provided
Quotes
.
Quotes
should have the same structure as Self
, but items
Required Associated Types§
Required Methods§
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.