former 2.43.0

A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. Simplify the construction of complex objects.
Documentation
#![allow(clippy::used_underscore_binding, clippy::all, warnings, missing_docs)]
#[ allow( unused_imports ) ]
use super::*;
#[ allow( unused_imports ) ]
use test_tools::a_id;

#[ derive( Debug, PartialEq, Default, the_module::Former ) ]
pub struct Struct1 {
  #[ former( default = 31 ) ]
  pub int_1: i32,
}

//

tests_impls! {
  fn test_complex()
  {
    let command = Struct1::former().form();

    let expected = Struct1
    {
      int_1 : 31,
    };
    a_id!( command, expected );
  }
}

//

tests_index! {
  test_complex,
}