A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. Simplify the construction of complex objects.
useformer::Former;#[derive( Debug, PartialEq, Former )]pubstructTestLifetime<'a>{pubvalue:&'astr,
}fnmain(){let data ="test";let _instance =TestLifetime::former().value(data).form();}