#[repr(C)]pub struct ImportSemaphoreFdInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore: Semaphore,
pub flags: SemaphoreImportFlags,
pub handle_type: ExternalSemaphoreHandleTypeFlags,
pub fd: c_int,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§semaphore: Semaphore
§flags: SemaphoreImportFlags
§handle_type: ExternalSemaphoreHandleTypeFlags
§fd: c_int
Implementations§
Source§impl ImportSemaphoreFdInfoKHR
impl ImportSemaphoreFdInfoKHR
pub fn builder<'a>() -> ImportSemaphoreFdInfoKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for ImportSemaphoreFdInfoKHR
impl Clone for ImportSemaphoreFdInfoKHR
Source§fn clone(&self) -> ImportSemaphoreFdInfoKHR
fn clone(&self) -> ImportSemaphoreFdInfoKHR
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 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)