bbgun 0.1.0

A builder for builders running builders!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Default, bbgun::Builder, Debug)]
struct User {
    username: String,
    email: String,
    sign_in_count: u64,
    active: bool,
}

fn main() {
    dbg!(User::builder()
        .username("Foo".to_string())
        .email("Bar@biz.baz".to_string())
        .sign_in_count(25043)
        .active(true));
}