pub trait BuilderContext {
    // Required method
    fn get_dependency_recorder() -> Option<Box<dyn RebuildDependencyRecorder>>;

    // Provided method
    fn setup() { ... }
}
Available on crate feature build only.
Expand description

The context in which a builder object lives. Callbacks for various purposes.

Required Methods§

source

fn get_dependency_recorder() -> Option<Box<dyn RebuildDependencyRecorder>>

Create a dependency recorder, if any.

Provided Methods§

source

fn setup()

Perform any initialization specific to the context in which this builder lives.

Implementors§