Module context

Module context 

Source
Expand description

Using context for code generation requires importing this module

Structs§

DynContext
Dynamic context object. Provides every type that is 'static via ContextProvides, but will panic at runtime if used with an unavailable type.
DynContextBuilder
A builder for a DynContext
EmptyContext
A context that yields nothing. Can be useful for testing.
SingularContext
A context that provides only the tuple value

Traits§

Context
Metadata associated with an I/O stream. The context will be available to all super::Writable implementations. For each value that it may provide, it should implement ContextProvides for that type.
ContextProvides
Signals that the context statically provides a certain type.