Skip to main content

Computation

Trait Computation 

Source
pub trait Computation {
    type Output;

    const IS_INPUT: bool;
    const ASSUME_CHANGED: bool;

    // Required method
    fn computation_id() -> u32;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<Item: 'static> Computation for Accumulated<Item>

Source§

const IS_INPUT: bool = false

Source§

const ASSUME_CHANGED: bool = false

Source§

type Output = BTreeSet<Item>