Enum nested::OuterRefMut
source · pub enum OuterRefMut<'__superstruct> {
A(&'__superstruct mut OuterA),
B(&'__superstruct mut OuterB),
}
Variants§
Implementations§
source§impl<'__superstruct> OuterRefMut<'__superstruct>
impl<'__superstruct> OuterRefMut<'__superstruct>
pub fn inner_a_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut InnerA, ()>
pub fn inner_b_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut InnerB, ()>
Auto Trait Implementations§
impl<'__superstruct> Freeze for OuterRefMut<'__superstruct>
impl<'__superstruct> RefUnwindSafe for OuterRefMut<'__superstruct>
impl<'__superstruct> Send for OuterRefMut<'__superstruct>
impl<'__superstruct> Sync for OuterRefMut<'__superstruct>
impl<'__superstruct> Unpin for OuterRefMut<'__superstruct>
impl<'__superstruct> !UnwindSafe for OuterRefMut<'__superstruct>
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