#[repr(C)]
pub union Union<A, B> {
/* private fields */
}
Trait Implementations
sourceimpl<H, T: IndexedDrop> IndexedDrop for Union<H, T>
impl<H, T: IndexedDrop> IndexedDrop for Union<H, T>
impl<A: Copy, B: Copy> Copy for Union<A, B>
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Union<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Union<A, B>where
A: Send,
B: Send,
impl<A, B> Sync for Union<A, B>where
A: Sync,
B: Sync,
impl<A, B> Unpin for Union<A, B>where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Union<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more