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