pub trait Computation: Debug {
type Output;
const IS_INPUT: bool;
const ASSUME_CHANGED: bool;
// Required method
fn computation_id() -> u32;
}Required Associated Constants§
Required Associated Types§
Required Methods§
fn computation_id() -> u32
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.