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: PartialEq> PartialEq for Unsafe<T>
impl<T: PartialEq> PartialEq for Unsafe<T>
source§impl<T: PartialOrd> PartialOrd for Unsafe<T>
impl<T: PartialOrd> PartialOrd for Unsafe<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<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