#[repr(C)]pub struct ImportSemaphoreFdInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore: Semaphore,
pub flags: SemaphoreImportFlags,
pub handle_type: ExternalSemaphoreHandleTypeFlagBits,
pub fd: c_int,
}Expand description
VkImportSemaphoreFdInfoKHR
Provided by VK_KHR_external_semaphore_fd.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR.
p_next: *const c_voidOptional, may be null.
semaphore: SemaphoreThread safety: must be externally synchronized.
flags: SemaphoreImportFlags§handle_type: ExternalSemaphoreHandleTypeFlagBits§fd: c_intImplementations§
Source§impl ImportSemaphoreFdInfoKHR
impl ImportSemaphoreFdInfoKHR
Sourcepub fn builder<'a>() -> ImportSemaphoreFdInfoKHRBuilder<'a>
pub fn builder<'a>() -> ImportSemaphoreFdInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImportSemaphoreFdInfoKHR
impl Clone for ImportSemaphoreFdInfoKHR
Source§fn clone(&self) -> ImportSemaphoreFdInfoKHR
fn clone(&self) -> ImportSemaphoreFdInfoKHR
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 ImportSemaphoreFdInfoKHR
impl Debug for ImportSemaphoreFdInfoKHR
Source§impl Default for ImportSemaphoreFdInfoKHR
impl Default for ImportSemaphoreFdInfoKHR
impl Copy for ImportSemaphoreFdInfoKHR
Auto Trait Implementations§
impl Freeze for ImportSemaphoreFdInfoKHR
impl RefUnwindSafe for ImportSemaphoreFdInfoKHR
impl !Send for ImportSemaphoreFdInfoKHR
impl !Sync for ImportSemaphoreFdInfoKHR
impl Unpin for ImportSemaphoreFdInfoKHR
impl UnsafeUnpin for ImportSemaphoreFdInfoKHR
impl UnwindSafe for ImportSemaphoreFdInfoKHR
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