pub trait SwapchainImageExt: Swapchain {
// Required methods
fn format(&self) -> VkFormat;
fn extent(&self) -> VkExtent2D;
// Provided method
fn images_alloc(&self) -> Result<Vec<SwapchainImage<&Self>>> { ... }
}Required Methods§
Provided Methods§
Sourcefn images_alloc(&self) -> Result<Vec<SwapchainImage<&Self>>>
fn images_alloc(&self) -> Result<Vec<SwapchainImage<&Self>>>
Obtain the array of presentable images associated with a swapchain
§Failures
On failure, this command returns
brvk::VK_ERROR_OUT_OF_HOST_MEMORYbrvk::VK_ERROR_OUT_OF_DEVICE_MEMORY
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.