[][src]Crate dyn_context

Crate features

  • "nightly" Enabled by default. Disable to make the library compatible with stable and beta Rust channels.

Modules

example

context macro expansion example.

Macros

Context

A macro attribute deriving trivial Context implementation. A trivial-implemented context is a context containing itself only.

context

Creates structure, allowing to pack several references into a one reference to a 'static type, optionally implementing the Context trait.

Traits

Context

A service provider pattern implementation = associated read-only container with type as a key.

ContextExt

Extends Context with methods that make it easier to access the content of the context.