Handle to a swap chain.
pub fn get_current_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.
impl !RefUnwindSafe for SwapChain
impl !UnwindSafe for SwapChain
type Error = Infallible
The type returned in the event of a conversion error.