Function scrypto_test::prelude::fn_once

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

Converts a closure with no arguments to an FnOnce.