pub unsafe trait IntoExtendMutReturn<T, R> {
// Required method
fn into_extend_mut_return(self) -> (T, R);
}Expand description
Trait designed to allow returning both &mut T and (&mut T, R), as well
as other uses.
§Safety
This implementation must not unwind
Required Methods§
fn into_extend_mut_return(self) -> (T, R)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".