Engineer

Trait Engineer 

Source
pub trait Engineer
where Self: Sized, Self::Builder: Builder<Self>,
{ type Builder; type Params; const NORMAL_FIELDS: usize; const OPTIONAL_FIELDS: usize; // Required method fn builder(required: Self::Params) -> Self::Builder; // Provided methods fn build(required: Self::Params) -> Self { ... } fn build_default() -> Self where Self::Params: Default { ... } }

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn builder(required: Self::Params) -> Self::Builder

Provided Methods§

Source

fn build(required: Self::Params) -> Self

Source

fn build_default() -> Self
where Self::Params: Default,

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§