pub struct ImportMemoryHostPointerInfo<'d>(/* private fields */);
Available on crate feature
VK_EXT_external_memory_host
only.Implementations§
Source§impl<'d> ImportMemoryHostPointerInfo<'d>
impl<'d> ImportMemoryHostPointerInfo<'d>
pub const fn new(ty: ExternalMemoryHandleTypeHost, ptr: *mut c_void) -> Self
pub const unsafe fn from_raw(raw: VkImportMemoryHostPointerInfoEXT) -> Self
pub const fn into_raw(self) -> VkImportMemoryHostPointerInfoEXT
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 ImportMemoryHostPointerInfo<'d>
impl<'d> Clone for ImportMemoryHostPointerInfo<'d>
Source§fn clone(&self) -> ImportMemoryHostPointerInfo<'d>
fn clone(&self) -> ImportMemoryHostPointerInfo<'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<'d> Debug for ImportMemoryHostPointerInfo<'d>
impl<'d> Debug for ImportMemoryHostPointerInfo<'d>
Source§impl<'d> Hash for ImportMemoryHostPointerInfo<'d>
impl<'d> Hash for ImportMemoryHostPointerInfo<'d>
Source§impl<'d> PartialEq for ImportMemoryHostPointerInfo<'d>
impl<'d> PartialEq for ImportMemoryHostPointerInfo<'d>
Source§fn eq(&self, other: &ImportMemoryHostPointerInfo<'d>) -> bool
fn eq(&self, other: &ImportMemoryHostPointerInfo<'d>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl VulkanStructure for ImportMemoryHostPointerInfo<'_>
impl VulkanStructure for ImportMemoryHostPointerInfo<'_>
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.
impl<'d> Eq for ImportMemoryHostPointerInfo<'d>
impl<'d> StructuralPartialEq for ImportMemoryHostPointerInfo<'d>
Auto Trait Implementations§
impl<'d> Freeze for ImportMemoryHostPointerInfo<'d>
impl<'d> !RefUnwindSafe for ImportMemoryHostPointerInfo<'d>
impl<'d> !Send for ImportMemoryHostPointerInfo<'d>
impl<'d> !Sync for ImportMemoryHostPointerInfo<'d>
impl<'d> Unpin for ImportMemoryHostPointerInfo<'d>
impl<'d> !UnwindSafe for ImportMemoryHostPointerInfo<'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