Trait Buildable

Source
pub trait Buildable {
    type Builder: Builder;

    // Required method
    fn to_builder(&self) -> Self::Builder;
}
Expand description

Subject of the builder pattern.

See: Builder.

Required Associated Types§

Source

type Builder: Builder

Builder for this entity.

Required Methods§

Source

fn to_builder(&self) -> Self::Builder

Instantiates builder initialised with current values.

Implementors§