Crate ctxbuilder

Source
Expand description

§Context-Based Builders

Build Rust objects based on shared Context. This is useful when you need to generate multiple objects based on a set of similar properties, such as in preparation for unit tests.

Modules§

prelude
Prelude with trait imports

Structs§

Entry
View into a single entry in a context
MainContext
Shared context to build objects
SubContext
Sub-context that inherits from another context

Traits§

Builder
Trait to build an object based on a shared Context
Context
Trait for implementing a shared context to generate objects
NamedBuilder
Trait to build an object based on a shared Context and name

Functions§

ctx
Create a new MainContext