pub struct UnsafeRef(/* private fields */);
Expand description
Prevents unsafe references from being accessed outside library.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UnsafeRef
impl !Send for UnsafeRef
impl !Sync for UnsafeRef
impl Unpin for UnsafeRef
impl !UnwindSafe for UnsafeRef
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