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