Function radix_engine::utils::panics::fn_once

source ·
pub const fn fn_once<F: FnOnce() -> O, O>(f: F) -> F
Expand description

Converts a closure with no arguments to an FnOnce.