Struct wgpu::SwapChainFrame[][src]

pub struct SwapChainFrame {
    pub output: SwapChainTexture,
    pub suboptimal: bool,

Result of a successful call to SwapChain::get_current_frame.


output: SwapChainTexture

The texture into which the next frame should be rendered.

suboptimal: bool

true if the acquired buffer can still be used for rendering, but should be recreated for maximum performance.

Trait Implementations

impl Debug for SwapChainFrame[src]

Auto Trait Implementations

impl !RefUnwindSafe for SwapChainFrame

impl Send for SwapChainFrame

impl Sync for SwapChainFrame

impl Unpin for SwapChainFrame

impl !UnwindSafe for SwapChainFrame

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Downcast<T> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T[src]