Struct ash::vk::ImportMemoryWin32HandleInfoKHR
source · #[repr(C)]pub struct ImportMemoryWin32HandleInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub handle_type: ExternalMemoryHandleTypeFlags,
pub handle: HANDLE,
pub name: LPCWSTR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§handle_type: ExternalMemoryHandleTypeFlags
§handle: HANDLE
§name: LPCWSTR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> ImportMemoryWin32HandleInfoKHR<'a>
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
pub fn handle(self, handle: HANDLE) -> Self
pub fn name(self, name: LPCWSTR) -> Self
Trait Implementations§
source§impl<'a> Clone for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> Clone for ImportMemoryWin32HandleInfoKHR<'a>
source§fn clone(&self) -> ImportMemoryWin32HandleInfoKHR<'a>
fn clone(&self) -> ImportMemoryWin32HandleInfoKHR<'a>
Returns a copy 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<'a> Debug for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> Debug for ImportMemoryWin32HandleInfoKHR<'a>
source§impl Default for ImportMemoryWin32HandleInfoKHR<'_>
impl Default for ImportMemoryWin32HandleInfoKHR<'_>
source§impl<'a> TaggedStructure for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> TaggedStructure for ImportMemoryWin32HandleInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR
impl<'a> Copy for ImportMemoryWin32HandleInfoKHR<'a>
impl ExtendsMemoryAllocateInfo for ImportMemoryWin32HandleInfoKHR<'_>
impl Send for ImportMemoryWin32HandleInfoKHR<'_>
impl Sync for ImportMemoryWin32HandleInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> RefUnwindSafe for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> Unpin for ImportMemoryWin32HandleInfoKHR<'a>
impl<'a> UnwindSafe for ImportMemoryWin32HandleInfoKHR<'a>
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