Crate dyn_context[][src]

Crate features

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

Modules

example

free_lifetimes macro expansion example.

Macros

Context

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

free_lifetimes

Creates structure, allowing to pack several references into a one reference to a 'static type.

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.

ContextRef

Provides method allowing combine two read-only Contexts into one.

ContextRefMut

Provides method allowing combine two Contexts into one.