pub struct SurfaceTexture { /* private fields */ }Available on
vulkan only.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
Source§impl DynSurfaceTexture for SurfaceTexture
impl DynSurfaceTexture for SurfaceTexture
Source§fn image_id(&self) -> Option<u64>
fn image_id(&self) -> Option<u64>
Which of the surface’s presentable images this texture is: the same
value each time the surface hands that image out again, until it is
configured anew.
None where the backend cannot tell its images
apart.Source§fn awaits_acquire(&self) -> bool
fn awaits_acquire(&self) -> bool
Whether no submission has waited for this texture’s acquisition yet,
on a backend whose presentation waits for one.
Auto Trait Implementations§
impl !RefUnwindSafe for SurfaceTexture
impl !UnwindSafe for SurfaceTexture
impl Freeze for SurfaceTexture
impl Send for SurfaceTexture
impl Sync for SurfaceTexture
impl Unpin for SurfaceTexture
impl UnsafeUnpin 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