Function frame_system::split_inner
source ยท pub fn split_inner<T, R, S>(
option: Option<T>,
splitter: impl FnOnce(T) -> (R, S),
) -> (Option<R>, Option<S>)
Expand description
Split an option
into two constituent options, as defined by a splitter
function.