Function zng::hot_reload::lazy_static_init

source ยท
pub fn lazy_static_init<T>(
    lazy_static: &'static Lazy<T>,
    value: T,
) -> Result<&'static T, T>
Expand description

Initializes a lazy_static! with a custom value if it is not yet inited.