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

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Parse GenApi context and build `

A type that implements NodeStore

A type that implements ValueStore

A type that implements CacheStore

Provide access to the context.

Returns NodeStore in the context.

Clear all cache of the context.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.