pub enum EnumRef<'a, V0: ?Sized, V1> {
V0(&'a mut V0),
V1(&'a mut V1),
}Expand description
A mutable reference to the active variant within the UnsizedEnum
Variants§
V0(&'a mut V0)
V1(&'a mut V1)
Auto Trait Implementations§
impl<'a, V0, V1> Freeze for EnumRef<'a, V0, V1>where
V0: ?Sized,
impl<'a, V0, V1> RefUnwindSafe for EnumRef<'a, V0, V1>
impl<'a, V0, V1> Send for EnumRef<'a, V0, V1>
impl<'a, V0, V1> Sync for EnumRef<'a, V0, V1>
impl<'a, V0, V1> Unpin for EnumRef<'a, V0, V1>where
V0: ?Sized,
impl<'a, V0, V1> !UnwindSafe for EnumRef<'a, V0, V1>
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