Skip to main content

Bundle

Derive Macro Bundle 

Source
#[derive(Bundle)]
{
    // Attributes available to this derive:
    #[bundle]
}
Expand description

Derive [bitloom_prelude::Bundle] from named struct fields (FR80 / Story 32.3).

Supported: named-field structs; ground fields Bool / Clock / Reset / UInt<N> / SInt<N> / Bits<N>; other simple path types as one-level nested Bundles (Type::leaves).

Rejected (stable compile_error!): enums, unions, tuple structs, unit structs without named fields, HwVec<_>, Input<_> / Output<_>, references/tuples/arrays, and non-path field types.

Re-exported from bitloom-prelude so design crates never depend on this crate directly (AD-6).