1 2 3 4 5 6
pub trait SafeBuilder<T: PartialBuilder> { fn build() -> T; } pub trait PartialBuilder { }