#[repr(transparent)]pub struct InitPtr<T> {
pub ptr: *mut T,
}
Expand description
A transparent wrapper around a mutable pointer of type T
.
Fields§
§ptr: *mut T
The mutable pointer.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for InitPtr<T>
impl<T> RefUnwindSafe for InitPtr<T>where
T: RefUnwindSafe,
impl<T> !Send for InitPtr<T>
impl<T> !Sync for InitPtr<T>
impl<T> Unpin for InitPtr<T>
impl<T> UnwindSafe for InitPtr<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