Skip to main content

gated

Function gated 

Source
pub(crate) fn gated<T>(enabled: bool, derive: impl FnOnce() -> T) -> T
where T: Default,