union Data<T, F> {
value: ManuallyDrop<T>,
f: ManuallyDrop<F>,
}
Fields§
§value: ManuallyDrop<T>
§f: ManuallyDrop<F>
Auto Trait Implementations§
impl<T, F> RefUnwindSafe for Data<T, F>where F: RefUnwindSafe, T: RefUnwindSafe,
impl<T, F> Send for Data<T, F>where F: Send, T: Send,
impl<T, F> Sync for Data<T, F>where F: Sync, T: Sync,
impl<T, F> Unpin for Data<T, F>where F: Unpin, T: Unpin,
impl<T, F> UnwindSafe for Data<T, F>where F: UnwindSafe, T: UnwindSafe,
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