Function frame_system::split_inner [−][src]
pub fn split_inner<T, R, S>(
option: Option<T>,
splitter: impl FnOnce(T) -> (R, S)
) -> (Option<R>, Option<S>)
Split an option
into two constituent options, as defined by a splitter
function.