Trait cameleon::genapi::GenApiCtxt[][src]

pub trait GenApiCtxt {
    type NS: NodeStore;
    type VS: ValueStore;
    type CS: CacheStore;
    fn enter<F, R>(&mut self, f: F) -> R
    where
        F: FnOnce(&Self::NS, &mut ValueCtxt<Self::VS, Self::CS>) -> R
;
fn node_store(&self) -> &Self::NS; fn clear_cache(&mut self) { ... } }
Expand description

A trait that provides accesss to GenApi context.

Associated Types

A type that implements NodeStore

A type that implements ValueStore

A type that implements CacheStore

Required methods

Provide access to the context.

Returns NodeStore in the context.

Provided methods

Clear all cache of the context.

Implementations on Foreign Types

Implementors