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
type VS: ValueStore
[src]
type VS: ValueStore
[src]A type that implements ValueStore
type CS: CacheStore
[src]
type CS: CacheStore
[src]A type that implements CacheStore
Required methods
Provide access to the context.
fn node_store(&self) -> &Self::NS
[src]
fn node_store(&self) -> &Self::NS
[src]Returns NodeStore
in the context.
Provided methods
fn clear_cache(&mut self)
[src]
fn clear_cache(&mut self)
[src]Clear all cache of the context.
Implementations on Foreign Types
Implementors
type NS = DefaultNodeStore
type VS = DefaultValueStore
type CS = DefaultCacheStore
type NS = DefaultNodeStore
type VS = DefaultValueStore
type CS = DefaultCacheStore