pub trait VulkanStructureProvider {
type RootStructure;
// Required method
fn build<'r, 's: 'r>(
&'s mut self,
root: &'s mut Self::RootStructure,
) -> &'r mut GenericVulkanStructure;
}Required Associated Types§
type RootStructure
Required Methods§
fn build<'r, 's: 'r>( &'s mut self, root: &'s mut Self::RootStructure, ) -> &'r mut GenericVulkanStructure
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl VulkanStructureProvider for BufferCreateInfo<'_>
impl VulkanStructureProvider for BufferCreateInfo<'_>
type RootStructure = VkBufferCreateInfo
Source§impl<Parent: VulkanStructureProvider, T> VulkanStructureProvider for Extends<Parent, T>where
T: TypedVulkanStructure,
impl<Parent: VulkanStructureProvider, T> VulkanStructureProvider for Extends<Parent, T>where
T: TypedVulkanStructure,
type RootStructure = <Parent as VulkanStructureProvider>::RootStructure
Source§impl<Surface: Surface> VulkanStructureProvider for SwapchainWithSurfaceBuilder<'_, '_, Surface>
Available on crate features VK_KHR_surface and VK_KHR_swapchain only.
impl<Surface: Surface> VulkanStructureProvider for SwapchainWithSurfaceBuilder<'_, '_, Surface>
Available on crate features
VK_KHR_surface and VK_KHR_swapchain only.