builderx-core 0.1.0

Core traits for the builderx DSL (builder-pattern adapters)
Documentation
  • Coverage
  • 71.43%
    10 out of 14 items documented1 out of 13 items with examples
  • Size
  • Source code size: 5.39 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.56 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • kaid/builderx
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kaid

Core traits for the builderx DSL (builder-pattern adapters).

These traits define how the bx! macro talks to concrete UI toolkits. Adapters bridge between a generic builder syntax and a specific “attach child/children” API that each toolkit exposes.

Picking an integration style

  • If you control the builder type (or it already has attach semantics), implement [AttachChild] / [AttachChildren] and use [DefaultAdapter] for the most ergonomic path—no adapter type needed.
  • If the builder is foreign or needs custom glue, implement [BxAdapter] + [CanAttach] / [CanAttachMany] on a small adapter type instead.