#[repr(C)]pub struct ImportMemoryMetalHandleInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub handle_type: ExternalMemoryHandleTypeFlagBits,
pub handle: *mut c_void,
}Expand description
VkImportMemoryMetalHandleInfoEXT
Provided by VK_EXT_external_memory_metal.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT.
p_next: *const c_voidOptional, may be null.
handle_type: ExternalMemoryHandleTypeFlagBits§handle: *mut c_voidOptional, may be null.
Implementations§
Source§impl ImportMemoryMetalHandleInfoEXT
impl ImportMemoryMetalHandleInfoEXT
Sourcepub fn builder<'a>() -> ImportMemoryMetalHandleInfoEXTBuilder<'a>
pub fn builder<'a>() -> ImportMemoryMetalHandleInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImportMemoryMetalHandleInfoEXT
impl Clone for ImportMemoryMetalHandleInfoEXT
Source§fn clone(&self) -> ImportMemoryMetalHandleInfoEXT
fn clone(&self) -> ImportMemoryMetalHandleInfoEXT
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 moreimpl Copy for ImportMemoryMetalHandleInfoEXT
impl ExtendsMemoryAllocateInfo for ImportMemoryMetalHandleInfoEXT
Auto Trait Implementations§
impl Freeze for ImportMemoryMetalHandleInfoEXT
impl RefUnwindSafe for ImportMemoryMetalHandleInfoEXT
impl !Send for ImportMemoryMetalHandleInfoEXT
impl !Sync for ImportMemoryMetalHandleInfoEXT
impl Unpin for ImportMemoryMetalHandleInfoEXT
impl UnsafeUnpin for ImportMemoryMetalHandleInfoEXT
impl UnwindSafe for ImportMemoryMetalHandleInfoEXT
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