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