Skip to main content

TriggerlessGraph

Trait TriggerlessGraph 

Source
pub trait TriggerlessGraph: Graph {
    // Required methods
    fn compiled_fn() -> TriggerlessGraphFn;
    fn terminal_node_names() -> &'static [&'static str];
}
Expand description

Compile-time link from a Graph handle to its trigger-less invocation surface.

The #[computation_graph] macro emits an impl TriggerlessGraph for __CGHandle_<mod> only when the graph is trigger-less.

Required Methods§

Source

fn compiled_fn() -> TriggerlessGraphFn

Construct a fresh TriggerlessGraphFn wrapping the compiled fn.

Source

fn terminal_node_names() -> &'static [&'static str]

Names of every terminal node in declaration order.

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.

Implementors§