[][src]Function gluon_vm::core::optimize::merge_slice

pub fn merge_slice<'a, T, U>(
    allocator: &'a Allocator<'a>,
    slice: &'a [U],
    action: impl FnMut(&'a U) -> Option<T>
) -> Option<&'a [T]> where
    U: ArenaAllocatable<'a> + 'a,
    T: ArenaAllocatable<'a> + Produce<'a, 'a, SameLifetime<'a>, U>,