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