pub struct TypedPtrConst<'mem, T: ?Sized>(/* private fields */);Expand description
A pointer to an uninitialized value with a lifetime.
Implementations§
Trait Implementations§
Source§impl<T: ?Sized> Debug for TypedPtrConst<'_, T>
impl<T: ?Sized> Debug for TypedPtrConst<'_, T>
Source§impl<'mem, T: ?Sized> From<TypedPtrConst<'mem, T>> for PtrConst<'mem>
impl<'mem, T: ?Sized> From<TypedPtrConst<'mem, T>> for PtrConst<'mem>
Source§fn from(ptr: TypedPtrConst<'mem, T>) -> Self
fn from(ptr: TypedPtrConst<'mem, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'mem, T> Freeze for TypedPtrConst<'mem, T>where
T: ?Sized,
impl<'mem, T> RefUnwindSafe for TypedPtrConst<'mem, T>where
T: RefUnwindSafe + ?Sized,
impl<'mem, T> !Send for TypedPtrConst<'mem, T>
impl<'mem, T> !Sync for TypedPtrConst<'mem, T>
impl<'mem, T> Unpin for TypedPtrConst<'mem, T>where
T: ?Sized,
impl<'mem, T> UnwindSafe for TypedPtrConst<'mem, T>where
T: RefUnwindSafe + ?Sized,
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