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> Freeze for AcquiredSurfaceTexture<A>
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