Struct cameleon::genapi::DefaultGenApiCtxt [−][src]
pub struct DefaultGenApiCtxt { pub node_store: DefaultNodeStore, pub value_ctxt: ValueCtxt<DefaultValueStore, DefaultCacheStore>, pub reg_desc: RegisterDescription, }
Expand description
Default GenApi
context.
This context caches values of GenApi
nodes if possible to reduce transaction.
If you need no cache context, use NoCacheGenApiCtxt
.
Fields
node_store: DefaultNodeStore
Node store.
value_ctxt: ValueCtxt<DefaultValueStore, DefaultCacheStore>
Value context.
reg_desc: RegisterDescription
Register description.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Parse GenApi
context and build `
type NS = DefaultNodeStore
type NS = DefaultNodeStore
A type that implements NodeStore
type VS = DefaultValueStore
type VS = DefaultValueStore
A type that implements ValueStore
type CS = DefaultCacheStore
type CS = DefaultCacheStore
A type that implements CacheStore
Provide access to the context.
Returns NodeStore
in the context.
Clear all cache of the context.
Auto Trait Implementations
impl RefUnwindSafe for DefaultGenApiCtxt
impl Send for DefaultGenApiCtxt
impl Sync for DefaultGenApiCtxt
impl Unpin for DefaultGenApiCtxt
impl UnwindSafe for DefaultGenApiCtxt