Skip to main content

keyed

Function keyed 

Source
pub fn keyed<T>(key: impl Into<String>, f: impl FnOnce() -> T) -> T