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
#[derive(bon::Builder)]
#[builder(builder_type(
    doc {
        /// Showcases examples of `#[builder(default)]` usage and what docs are
        /// generated for them. Click on any of `source` links to see the source code.
    },
))]
#[allow(
    clippy::struct_field_names,
    reason = "Common `_default` suffix is for better readability"
)]
pub struct Example {
    /// Custom doc comment.
    /// Multiline.
    #[builder(default = (2 + 2) * 10)]
    small_custom_default: u32,

    /// Custom doc comment.
    /// Multiline.
    #[builder(default = Vec::from([
        Point { x: 1, y: 2 },
        Point { x: 3, y: 4 },
        Point { x: 5, y: 6 },
        Point { x: 7, y: 8 },
    ]))]
    big_custom_default: Vec<Point>,

    #[builder(default)]
    standard_u32_default: u32,

    #[builder(default)]
    standard_string_default: String,
}

pub struct Point {
    x: u32,
    y: u32,
}