pub struct BindImageMemoryInfo<'b>(/* private fields */);Implementations§
Source§impl<'b> BindImageMemoryInfo<'b>
impl<'b> BindImageMemoryInfo<'b>
pub fn new( image: &'b (impl VkHandle<Handle = VkImage> + ?Sized), memory: &'b (impl VkHandle<Handle = VkDeviceMemory> + ?Sized), offset: VkDeviceSize, ) -> Self
Sourcepub const unsafe fn from_raw(raw: VkBindImageMemoryInfoKHR) -> Self
pub const unsafe fn from_raw(raw: VkBindImageMemoryInfoKHR) -> Self
§Safety
raw must be a valid [VkBindImageMemoryInfoKHR] struct.
pub const fn into_raw(self) -> VkBindImageMemoryInfoKHR
Trait Implementations§
Source§impl AsRef<VkBindImageMemoryInfoKHR> for BindImageMemoryInfo<'_>
Available on crate feature VK_KHR_bind_memory2 only.
impl AsRef<VkBindImageMemoryInfoKHR> for BindImageMemoryInfo<'_>
Available on crate feature
VK_KHR_bind_memory2 only.Source§fn as_ref(&self) -> &VkBindImageMemoryInfoKHR
fn as_ref(&self) -> &VkBindImageMemoryInfoKHR
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<'b> Freeze for BindImageMemoryInfo<'b>
impl<'b> !RefUnwindSafe for BindImageMemoryInfo<'b>
impl<'b> !Send for BindImageMemoryInfo<'b>
impl<'b> !Sync for BindImageMemoryInfo<'b>
impl<'b> Unpin for BindImageMemoryInfo<'b>
impl<'b> UnsafeUnpin for BindImageMemoryInfo<'b>
impl<'b> !UnwindSafe for BindImageMemoryInfo<'b>
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