Struct deranged::unsafe_wrapper::Unsafe
source · pub(crate) struct Unsafe<T>(T);
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
source§impl<T: Ord> Ord for Unsafe<T>
impl<T: Ord> Ord for Unsafe<T>
source§impl<T: PartialOrd> PartialOrd for Unsafe<T>
impl<T: PartialOrd> PartialOrd for Unsafe<T>
impl<T: Copy> Copy for Unsafe<T>
impl<T: Eq> Eq for Unsafe<T>
impl<T> StructuralPartialEq for Unsafe<T>
Auto Trait Implementations§
impl<T> Freeze for Unsafe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Unsafe<T>where
T: RefUnwindSafe,
impl<T> Send for Unsafe<T>where
T: Send,
impl<T> Sync for Unsafe<T>where
T: Sync,
impl<T> Unpin for Unsafe<T>where
T: Unpin,
impl<T> UnwindSafe for Unsafe<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)