[][src]Trait ibuilder::NewBuildableValue

pub trait NewBuildableValue {
    fn new_buildable_value(
        config: BuildableValueConfig<()>
    ) -> Box<dyn BuildableValue>; }

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>

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.

Loading content...

Implementations on Foreign Types

impl NewBuildableValue for i8[src]

impl NewBuildableValue for i16[src]

impl NewBuildableValue for i32[src]

impl NewBuildableValue for i64[src]

impl NewBuildableValue for u8[src]

impl NewBuildableValue for u16[src]

impl NewBuildableValue for u32[src]

impl NewBuildableValue for u64[src]

impl NewBuildableValue for isize[src]

impl NewBuildableValue for usize[src]

impl NewBuildableValue for f32[src]

impl NewBuildableValue for f64[src]

impl NewBuildableValue for String[src]

impl NewBuildableValue for char[src]

impl<T> NewBuildableValue for Vec<T> where
    T: NewBuildableValue + 'static, 
[src]

impl<T> NewBuildableValue for Box<T> where
    T: NewBuildableValue + 'static, 
[src]

impl<T> NewBuildableValue for Option<T> where
    T: NewBuildableValue + 'static, 
[src]

Loading content...

Implementors

Loading content...