Skip to main content

beans

Attribute Macro beans 

Source
#[beans]
Expand description

Registers #[bean] methods from any ordinary impl block. The owner is a singleton created through Default, allowing &self bean methods.