pub struct Capture<E, M> {
pub elem: Option<E>,
phantom: PhantomData<M>,
}
🔬This is a nightly-only experimental API. (
generic_assert_internals
#44838)Expand description
Fields§
§elem: Option<E>
🔬This is a nightly-only experimental API. (
§generic_assert_internals
#44838)phantom: PhantomData<M>
🔬This is a nightly-only experimental API. (
generic_assert_internals
#44838)Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E, M> Freeze for Capture<E, M>where E: Freeze,
impl<E, M> RefUnwindSafe for Capture<E, M>where E: RefUnwindSafe, M: RefUnwindSafe,
impl<E, M> Send for Capture<E, M>where E: Send, M: Send,
impl<E, M> Sync for Capture<E, M>where E: Sync, M: Sync,
impl<E, M> Unpin for Capture<E, M>where E: Unpin, M: Unpin,
impl<E, M> UnwindSafe for Capture<E, M>where E: UnwindSafe, M: 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