struct Envelope<T, U>(Option<(T, Callback<T, U>)>);
Tuple Fields§
§0: Option<(T, Callback<T, U>)>
Trait Implementations§
Auto Trait Implementations§
impl<T, U> Freeze for Envelope<T, U>where
T: Freeze,
impl<T, U> !RefUnwindSafe for Envelope<T, U>
impl<T, U> Send for Envelope<T, U>
impl<T, U> Sync for Envelope<T, U>
impl<T, U> Unpin for Envelope<T, U>where
T: Unpin,
impl<T, U> !UnwindSafe for Envelope<T, U>
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