[][src]Struct wgpu::SwapChainFrame

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

Result of a successful call to SwapChain::get_next_frame.

Fields

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.

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
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.