#[singleton_fn]
Available on crate feature
singleton
only.Expand description
Generate a ctor static with this function.
ⓘ
#[singleton_fn] //using MAKE_THING as name
#[singleton_fn(MY_STATIC)] //using MY_STATIC as name
fn make_thing() -> Thing;