Enum gfx_hal::external_memory::PlatformMemory
source · [−]Expand description
Representation of an os specific memory.
Variants
Handle(Handle)
Windows handle.
Ptr(Ptr)
Host pointer.
Implementations
sourceimpl PlatformMemory
impl PlatformMemory
Trait Implementations
sourceimpl From<Handle> for PlatformMemory
impl From<Handle> for PlatformMemory
sourcepub fn from(handle: Handle) -> PlatformMemory
pub fn from(handle: Handle) -> PlatformMemory
Performs the conversion.
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.
sourceimpl TryInto<Handle> for PlatformMemory
impl TryInto<Handle> for PlatformMemory
Auto Trait Implementations
impl RefUnwindSafe for PlatformMemory
impl !Send for PlatformMemory
impl !Sync for PlatformMemory
impl Unpin for PlatformMemory
impl UnwindSafe for PlatformMemory
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