bon-sandbox 3.9.1

Not a real crate! It's just a showcase of examples used by `bon`'s documentation to demonstrate the rustdoc output for code generated by builder macros. Don't use this crate, it doesn't follow semver at all and serves no other purpose other than linking to its docs as an example!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Minimal example of the generated builder and its typestate API.
//!
//! This documentation was generated as a showcase for the [Builder's Type Signature] guide.
//!
//! [Builder's Type Signature]: https://bon-rs.com/guide/typestate-api/builders-type-signature

/// Example struct with the `#[derive(Builder)]` annotation.
#[derive(bon::Builder)]
#[builder(state_mod(vis = "pub"))]
pub struct Example {
    x1: u32,
    x2: u32,
}