pub struct Wrap<T: 'static> {
pub ptr: &'static mut T,
/* private fields */
}Fields§
§ptr: &'static mut TAuto Trait Implementations§
impl<T> Freeze for Wrap<T>
impl<T> RefUnwindSafe for Wrap<T>where
T: RefUnwindSafe,
impl<T> Send for Wrap<T>where
T: Send,
impl<T> Sync for Wrap<T>where
T: Sync,
impl<T> Unpin for Wrap<T>where
T: Unpin,
impl<T> !UnwindSafe for Wrap<T>
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