Skip to main content

RxContext

Trait RxContext 

Source
pub trait RxContext<'a, 'c: 'a> {
    // Required method
    fn sub_dag(self) -> RxSubDAG<'a, 'c>;
}
Expand description

Returns a slice of RxDAG you can read nodes from.

Note that RxContext and MutRxContext are neither subset nor superset of each other. You can’t read snapshots without recomputing, and you can’t write inputs.

Required Methods§

Source

fn sub_dag(self) -> RxSubDAG<'a, 'c>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, 'c: 'a> RxContext<'a, 'c> for RxDAGSnapshot<'a, 'c>

Source§

impl<'a, 'c: 'a> RxContext<'a, 'c> for RxInput<'a, 'c>