Skip to main content

Crate bon_sandbox

Crate bon_sandbox 

Source
Expand description

§bon-sandbox

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!

Modules§

attr_default
attr_getter
attr_setters_doc_default_skip
Showcases the docs output with setters(doc(default(skip))) attribute.
attr_with
docs_comparison
This module contains examples of rustdoc output for builder macros from different crates applied to different kinds of syntax.
functions
macro_rules_wrapper_test
missing_docs_test
This is based on the issue https://github.com/elastio/bon/issues/38
overrides
private_builder
state_mod
Examples of docs generated for the builder’s typestate API module.

Structs§

UnexportedBuilder
Unexported builder
UnexportedStateMod
Unexported state mod
UnexportedStateModBuilder
Use builder syntax to set the inputs and finish with build().