Skip to main content

only_if

Function only_if 

Source
pub fn only_if<T>(when: bool, value: T) -> Option<T>