#[repr(C)]pub struct VkBindBufferMemoryInfoKHR {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub buffer: VkBuffer,
pub memory: VkDeviceMemory,
pub memoryOffset: VkDeviceSize,
}Fields§
§sType: VkStructureType§pNext: *const c_void§buffer: VkBuffer§memory: VkDeviceMemory§memoryOffset: VkDeviceSizeTrait Implementations§
Source§impl Clone for VkBindBufferMemoryInfoKHR
impl Clone for VkBindBufferMemoryInfoKHR
Source§fn clone(&self) -> VkBindBufferMemoryInfoKHR
fn clone(&self) -> VkBindBufferMemoryInfoKHR
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkBindBufferMemoryInfoKHR
impl Debug for VkBindBufferMemoryInfoKHR
Source§impl TypedVulkanStructure for VkBindBufferMemoryInfoKHR
Available on crate feature VK_KHR_bind_memory2 only.
impl TypedVulkanStructure for VkBindBufferMemoryInfoKHR
Available on crate feature
VK_KHR_bind_memory2 only.Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkBindBufferMemoryInfoKHR
Available on crate feature VK_KHR_bind_memory2 only.
impl VulkanStructure for VkBindBufferMemoryInfoKHR
Available on crate feature
VK_KHR_bind_memory2 only.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 Freeze for VkBindBufferMemoryInfoKHR
impl RefUnwindSafe for VkBindBufferMemoryInfoKHR
impl !Send for VkBindBufferMemoryInfoKHR
impl !Sync for VkBindBufferMemoryInfoKHR
impl Unpin for VkBindBufferMemoryInfoKHR
impl UnsafeUnpin for VkBindBufferMemoryInfoKHR
impl UnwindSafe for VkBindBufferMemoryInfoKHR
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