impls_index 0.11.0

Several of macros to put each function under a named macro to index every function in a class.
Documentation
//! This example demonstrates the usage of macros `impls1!` and `index!` for defining and indexing functions.
fn main()
{
  use ::impls_index::*;

  impls1!
  {
    fn f1() -> i32
    {
      println!( "f1() : 13" );
      13
    }
  }

  index!
  {
    f1,
  }
  assert_eq!( f1(), 13 );
  /* print : f1() : 13 */
}