Struct wgpu::hal::AcquiredSurfaceTexture
source · pub struct AcquiredSurfaceTexture<A>where
A: Api,{
pub texture: <A as Api>::SurfaceTexture,
pub suboptimal: bool,
}
Fields§
§texture: <A as Api>::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>
impl<A> Send for AcquiredSurfaceTexture<A>
impl<A> Sync for AcquiredSurfaceTexture<A>
impl<A> Unpin for AcquiredSurfaceTexture<A>
impl<A> UnwindSafe for AcquiredSurfaceTexture<A>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more