bauer 0.3.1

A derive macro for automatically generating the builder pattern
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bauer::Builder;

#[derive(Debug, Builder)]
pub struct Foo<T> {
    pub t: T,
}

fn main() {
    let x: Foo<u32> = Foo::builder().t(69).build().unwrap();
    dbg!(x);
}