Attribute Macrosยง
- singleton
- Generate a ctor static of this struct.
By defeault, uses
Default
if the type implements it. You can pass an expression to the attribute to use it instead. - singleton_
fn - Generate a ctor static with this function.
Default
if the type implements it. You can pass an expression to the
attribute to use it instead.