pub struct Ptr(/* private fields */);
Expand description
Pointer to a host allocated memory.
Implementations§
Trait Implementations§
Source§impl From<Ptr> for PlatformMemory
impl From<Ptr> for PlatformMemory
Source§fn from(ptr: Ptr) -> PlatformMemory
fn from(ptr: Ptr) -> PlatformMemory
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Ptr
impl RefUnwindSafe for Ptr
impl !Send for Ptr
impl !Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
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