language_reporting

Function IfSome

Source
pub fn IfSome<'item, T, R>(
    option: &'item Option<T>,
    callback: impl Fn(&T) -> R + 'item,
) -> impl Render + 'item
where T: 'item, R: Render + 'item,