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