#[repr(C)]pub struct MemoryGetWin32HandleInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub memory: DeviceMemory,
pub handle_type: ExternalMemoryHandleTypeFlags,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§memory: DeviceMemory§handle_type: ExternalMemoryHandleTypeFlags§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> MemoryGetWin32HandleInfoKHR<'a>
impl<'a> MemoryGetWin32HandleInfoKHR<'a>
pub fn memory(self, memory: DeviceMemory) -> MemoryGetWin32HandleInfoKHR<'a>
pub fn handle_type( self, handle_type: ExternalMemoryHandleTypeFlags, ) -> MemoryGetWin32HandleInfoKHR<'a>
Trait Implementations§
Source§impl<'a> Clone for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> Clone for MemoryGetWin32HandleInfoKHR<'a>
Source§fn clone(&self) -> MemoryGetWin32HandleInfoKHR<'a>
fn clone(&self) -> MemoryGetWin32HandleInfoKHR<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> Debug for MemoryGetWin32HandleInfoKHR<'a>
Source§impl Default for MemoryGetWin32HandleInfoKHR<'_>
impl Default for MemoryGetWin32HandleInfoKHR<'_>
Source§fn default() -> MemoryGetWin32HandleInfoKHR<'_>
fn default() -> MemoryGetWin32HandleInfoKHR<'_>
Returns the “default value” for a type. Read more
Source§impl<'a> TaggedStructure for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> TaggedStructure for MemoryGetWin32HandleInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_GET_WIN32_HANDLE_INFO_KHR
impl<'a> Copy for MemoryGetWin32HandleInfoKHR<'a>
impl Send for MemoryGetWin32HandleInfoKHR<'_>
impl Sync for MemoryGetWin32HandleInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> RefUnwindSafe for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> Unpin for MemoryGetWin32HandleInfoKHR<'a>
impl<'a> UnwindSafe for MemoryGetWin32HandleInfoKHR<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)