Trait ibuilder::NewBuildableValue [−][src]
pub trait NewBuildableValue {
fn new_buildable_value(
config: BuildableValueConfig<()>
) -> Box<dyn BuildableValue>;
}
Expand description
A type that can be built with a BuildableValue
inside a Builder
. Keep in mind that the
semantics of the generated builder must be compatible with this type, especially looking at the
get_value_any
method.
Required methods
fn new_buildable_value(
config: BuildableValueConfig<()>
) -> Box<dyn BuildableValue>
fn new_buildable_value(
config: BuildableValueConfig<()>
) -> Box<dyn BuildableValue>
Construct a new BuildableValue
using the provided configuration. Note that using this
constructor instead of the new
method of the actual builder opaques the inner type.