pub struct UnsafePtr<T>(pub *const T);Tuple Fields§
§0: *const TTrait Implementations§
impl<T: Copy> Copy for UnsafePtr<T>
impl<T> Send for UnsafePtr<T>
Auto Trait Implementations§
impl<T> Freeze for UnsafePtr<T>
impl<T> RefUnwindSafe for UnsafePtr<T>where
T: RefUnwindSafe,
impl<T> !Sync for UnsafePtr<T>
impl<T> Unpin for UnsafePtr<T>
impl<T> UnwindSafe for UnsafePtr<T>where
T: RefUnwindSafe,
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