#[repr(C)]pub struct MemoryGetWin32HandleInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub memory: DeviceMemory,
pub handle_type: ExternalMemoryHandleTypeFlagBits,
}Expand description
VkMemoryGetWin32HandleInfoKHR
Provided by VK_KHR_external_memory_win32.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
memory: DeviceMemory§handle_type: ExternalMemoryHandleTypeFlagBitsImplementations§
Source§impl MemoryGetWin32HandleInfoKHR
impl MemoryGetWin32HandleInfoKHR
Sourcepub fn builder<'a>() -> MemoryGetWin32HandleInfoKHRBuilder<'a>
pub fn builder<'a>() -> MemoryGetWin32HandleInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for MemoryGetWin32HandleInfoKHR
impl Clone for MemoryGetWin32HandleInfoKHR
Source§fn clone(&self) -> MemoryGetWin32HandleInfoKHR
fn clone(&self) -> MemoryGetWin32HandleInfoKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryGetWin32HandleInfoKHR
impl Debug for MemoryGetWin32HandleInfoKHR
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
impl Copy for MemoryGetWin32HandleInfoKHR
Auto Trait Implementations§
impl Freeze for MemoryGetWin32HandleInfoKHR
impl RefUnwindSafe for MemoryGetWin32HandleInfoKHR
impl !Send for MemoryGetWin32HandleInfoKHR
impl !Sync for MemoryGetWin32HandleInfoKHR
impl Unpin for MemoryGetWin32HandleInfoKHR
impl UnsafeUnpin for MemoryGetWin32HandleInfoKHR
impl UnwindSafe for MemoryGetWin32HandleInfoKHR
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