Struct wgpu_hal::AcquiredSurfaceTexture
source · [−]pub struct AcquiredSurfaceTexture<A: Api> {
pub texture: A::SurfaceTexture,
pub suboptimal: bool,
}
Fields
texture: A::SurfaceTexture
suboptimal: bool
The presentation configuration no longer matches the surface properties exactly, but can still be used to present to the surface successfully.
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for AcquiredSurfaceTexture<A> where
<A as Api>::SurfaceTexture: RefUnwindSafe,
impl<A> Send for AcquiredSurfaceTexture<A>
impl<A> Sync for AcquiredSurfaceTexture<A>
impl<A> Unpin for AcquiredSurfaceTexture<A> where
<A as Api>::SurfaceTexture: Unpin,
impl<A> UnwindSafe for AcquiredSurfaceTexture<A> where
<A as Api>::SurfaceTexture: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more