Struct wgpu_hal::vulkan::SurfaceTexture
source · pub struct SurfaceTexture {
index: u32,
texture: Texture,
surface_semaphores: Arc<Mutex<SwapchainImageSemaphores>>,
}
Fields§
§index: u32
§texture: Texture
§surface_semaphores: Arc<Mutex<SwapchainImageSemaphores>>
Trait Implementations§
source§impl Borrow<Texture> for SurfaceTexture
impl Borrow<Texture> for SurfaceTexture
source§impl Borrow<dyn DynTexture> for SurfaceTexture
impl Borrow<dyn DynTexture> for SurfaceTexture
source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
source§impl Debug for SurfaceTexture
impl Debug for SurfaceTexture
source§impl DynResource for SurfaceTexture
impl DynResource for SurfaceTexture
impl DynSurfaceTexture for SurfaceTexture
Auto Trait Implementations§
impl Freeze for SurfaceTexture
impl !RefUnwindSafe for SurfaceTexture
impl Send for SurfaceTexture
impl Sync for SurfaceTexture
impl Unpin for SurfaceTexture
impl !UnwindSafe for SurfaceTexture
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