pub struct Safe<T>(/* private fields */);
Trait Implementations§
Source§impl<T: Ord> Ord for Safe<T>
impl<T: Ord> Ord for Safe<T>
Source§impl<T: PartialOrd> PartialOrd for Safe<T>
impl<T: PartialOrd> PartialOrd for Safe<T>
impl<T: Copy> Copy for Safe<T>
impl<T: Eq> Eq for Safe<T>
impl<T> IsSafe for Safe<T>
impl<T> StructuralPartialEq for Safe<T>
Auto Trait Implementations§
impl<T> Freeze for Safe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Safe<T>where
T: RefUnwindSafe,
impl<T> Send for Safe<T>where
T: Send,
impl<T> Sync for Safe<T>where
T: Sync,
impl<T> Unpin for Safe<T>where
T: Unpin,
impl<T> UnwindSafe for Safe<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