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
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
type Error = Infallible
The type returned in the event of a conversion error.