Struct wgpu_hal::dynamic::surface::DynAcquiredSurfaceTexture
source · pub struct DynAcquiredSurfaceTexture {
pub texture: Box<dyn DynSurfaceTexture>,
pub suboptimal: bool,
}
Fields§
§texture: Box<dyn DynSurfaceTexture>
§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 Freeze for DynAcquiredSurfaceTexture
impl !RefUnwindSafe for DynAcquiredSurfaceTexture
impl Send for DynAcquiredSurfaceTexture
impl Sync for DynAcquiredSurfaceTexture
impl Unpin for DynAcquiredSurfaceTexture
impl !UnwindSafe for DynAcquiredSurfaceTexture
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