pub enum MultiLife<'out, 'local, T>where
T: ?Sized,
'out: 'local,{
Out(&'out T),
Local(&'local T),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'out, 'local, T> Freeze for MultiLife<'out, 'local, T>where
T: ?Sized,
impl<'out, 'local, T> RefUnwindSafe for MultiLife<'out, 'local, T>where
T: RefUnwindSafe + ?Sized,
impl<'out, 'local, T> Send for MultiLife<'out, 'local, T>
impl<'out, 'local, T> Sync for MultiLife<'out, 'local, T>
impl<'out, 'local, T> Unpin for MultiLife<'out, 'local, T>where
T: ?Sized,
impl<'out, 'local, T> UnwindSafe for MultiLife<'out, 'local, T>where
T: RefUnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more