#[repr(C)]pub struct BindImageMemorySwapchainInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub swapchain: SwapchainKHR,
pub image_index: u32,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR.
p_next: *const c_voidOptional, may be null.
swapchain: SwapchainKHRThread safety: must be externally synchronized.
image_index: u32Implementations§
Source§impl BindImageMemorySwapchainInfoKHR
impl BindImageMemorySwapchainInfoKHR
Sourcepub fn builder<'a>() -> BindImageMemorySwapchainInfoKHRBuilder<'a>
pub fn builder<'a>() -> BindImageMemorySwapchainInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for BindImageMemorySwapchainInfoKHR
impl Clone for BindImageMemorySwapchainInfoKHR
Source§fn clone(&self) -> BindImageMemorySwapchainInfoKHR
fn clone(&self) -> BindImageMemorySwapchainInfoKHR
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 moreimpl Copy for BindImageMemorySwapchainInfoKHR
impl ExtendsBindImageMemoryInfo for BindImageMemorySwapchainInfoKHR
Auto Trait Implementations§
impl Freeze for BindImageMemorySwapchainInfoKHR
impl RefUnwindSafe for BindImageMemorySwapchainInfoKHR
impl !Send for BindImageMemorySwapchainInfoKHR
impl !Sync for BindImageMemorySwapchainInfoKHR
impl Unpin for BindImageMemorySwapchainInfoKHR
impl UnsafeUnpin for BindImageMemorySwapchainInfoKHR
impl UnwindSafe for BindImageMemorySwapchainInfoKHR
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