pub struct ImportMemoryFdInfo<'d>(/* private fields */);
Available on crate feature
VK_KHR_external_memory_fd
only.Implementations§
Source§impl<'d> ImportMemoryFdInfo<'d>
impl<'d> ImportMemoryFdInfo<'d>
pub const fn new(ty: ExternalMemoryHandleTypeFd, fd: RawFd) -> Self
pub const unsafe fn from_raw(raw: VkImportMemoryFdInfoKHR) -> Self
pub const fn into_raw(self) -> VkImportMemoryFdInfoKHR
pub const fn with_next(self, next: &'d (impl VulkanStructure + ?Sized)) -> Self
pub const unsafe fn next_sink<T: VulkanStructure>(&mut self) -> &mut *const T
Trait Implementations§
Source§impl<'d> Clone for ImportMemoryFdInfo<'d>
impl<'d> Clone for ImportMemoryFdInfo<'d>
Source§fn clone(&self) -> ImportMemoryFdInfo<'d>
fn clone(&self) -> ImportMemoryFdInfo<'d>
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 VulkanStructure for ImportMemoryFdInfo<'_>
impl VulkanStructure for ImportMemoryFdInfo<'_>
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl<'d> Freeze for ImportMemoryFdInfo<'d>
impl<'d> !RefUnwindSafe for ImportMemoryFdInfo<'d>
impl<'d> !Send for ImportMemoryFdInfo<'d>
impl<'d> !Sync for ImportMemoryFdInfo<'d>
impl<'d> Unpin for ImportMemoryFdInfo<'d>
impl<'d> !UnwindSafe for ImportMemoryFdInfo<'d>
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