pub fn split<'scope, T>(
unique: T,
) -> (impl 'scope + Unique, impl 'scope + Unique)where
T: 'scope + Unique,Expand description
Splits a unique type in two.
ยงExample
with(|initial| {
// Split in two.
let (a, b) = split(initial);
// ...
});