Struct gfx_hal::external_memory::Handle
source · [−]pub struct Handle(_);
Expand description
Windows handle.
Trait Implementations
sourceimpl AsRawHandle for Handle
impl AsRawHandle for Handle
sourcepub fn as_raw_handle(&self) -> *mut c_void
pub fn as_raw_handle(&self) -> *mut c_void
Extracts the raw handle, without taking any ownership.
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.
Auto Trait Implementations
impl RefUnwindSafe for Handle
impl !Send for Handle
impl !Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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