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§
Required Methods§
Sourcefn to_builder(&self) -> Self::Builder
fn to_builder(&self) -> Self::Builder
Instantiates builder initialised with current values.