pub type InsRes<'a, T> = (&'a mut T, Option<T>);Expand description
Insert result type.
Trait Implementations§
Source§impl<'a, T> InsResAide<T> for InsRes<'a, T>
impl<'a, T> InsResAide<T> for InsRes<'a, T>
Source§impl<'a, T> InsResAideEx<T> for InsRes<'a, T>
impl<'a, T> InsResAideEx<T> for InsRes<'a, T>
Source§unsafe fn uproot_previous_unchecked(&mut self) -> T
unsafe fn uproot_previous_unchecked(&mut self) -> T
Returns T of InsRes Some(T) leaving None in its place.
Produces undefined behavior if None.
Check with std::hint::unreachable_unchecked for more information.