Struct rustc_std_workspace_core::asserting::Wrapper
source · pub struct Wrapper<T>(pub T);
🔬This is a nightly-only experimental API. (
generic_assert_internals
)Expand description
Necessary for the implementations of TryCapture*
Tuple Fields§
§0: T
🔬This is a nightly-only experimental API. (
generic_assert_internals
)Auto Trait Implementations§
impl<T> RefUnwindSafe for Wrapper<T>where T: RefUnwindSafe,
impl<T> Send for Wrapper<T>where T: Send,
impl<T> Sync for Wrapper<T>where T: Sync,
impl<T> Unpin for Wrapper<T>where T: Unpin,
impl<T> UnwindSafe for Wrapper<T>where 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