Skip to main content

module

Attribute Macro module 

Source
#[module]
Expand description

Attribute macro: #[module] or #[blvm_module] - marks the main module struct. With #[module(name = "demo")] on an impl block: generates CLI, RPC, and event dispatch from a single impl (replaces #command, #[rpc_methods], #event_handlers).