pub struct Resource;Trait Implementations§
Source§impl Borrow<dyn DynTexture> for Resource
impl Borrow<dyn DynTexture> for Resource
Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
impl DynAccelerationStructure for Resource
impl DynBindGroup for Resource
impl DynBindGroupLayout for Resource
impl DynComputePipeline for Resource
impl DynPipelineCache for Resource
impl DynPipelineLayout for Resource
impl DynQuerySet for Resource
impl DynRayTracingPipeline for Resource
impl DynRenderPipeline for Resource
Source§impl DynResource for Resource
impl DynResource for Resource
impl DynSampler for Resource
impl DynShaderModule for Resource
Source§impl DynSurfaceTexture for Resource
impl DynSurfaceTexture for Resource
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.
impl DynTexture for Resource
impl DynTextureView for Resource
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
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