BuildWith

Trait BuildWith 

Source
pub trait BuildWith<T> {
    // Required method
    fn with(param: T) -> Self;
}
Expand description

Powerfull way to configure objects with builder pattern.

Required Methods§

Source

fn with(param: T) -> Self

Set param

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§