new_derivable 0.2.0

Create new implementations with just a paste of a macro
Documentation
1
2
3
4
5
6
7
8
9
use new_derivable::New;

#[derive(New, Debug)]
pub struct TestStruct(String, usize);

fn main() {
    let new = TestStruct(String::from("Justin"), 69);
    println!("{:?}", new)
}