Struct gfx_hal::external_memory::Ptr
source · [−]pub struct Ptr(_);
Expand description
Pointer to a host allocated memory.
Implementations
Trait Implementations
sourceimpl From<Ptr> for PlatformMemory
impl From<Ptr> for PlatformMemory
sourcepub fn from(ptr: Ptr) -> PlatformMemory
pub fn from(ptr: Ptr) -> PlatformMemory
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Ptr
impl !Send for Ptr
impl !Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more