pub trait Constructable {
    fn get_path(&self) -> Path;
    fn build_constructor(
        &self,
        generator: impl Fn(NamedOrUnnamedField<'_>) -> Result<Expr, Box<dyn Error>>
    ) -> Result<Expr, Box<dyn Error>>; fn get_fields(&self) -> &Fields; fn get_fields_mut(&mut self) -> &mut Fields; }

Required Methods§

Implementors§