Handle to a swap chain.
pub fn get_next_frame(&mut self) -> Result<SwapChainFrame, SwapChainError>[src]
Returns the next texture to be presented by the swapchain for drawing.
If a SwapChainFrame referencing this surface is alive when the swapchain is recreated, recreating the swapchain will panic.
Auto Trait Implementations
impl !RefUnwindSafe for SwapChain
impl !UnwindSafe for SwapChain
type Error = Infallible
The type returned in the event of a conversion error.