Struct wgpu_hal::DepthStencilAttachment
source · pub struct DepthStencilAttachment<'a, T: DynTextureView + ?Sized> {
pub target: Attachment<'a, T>,
pub depth_ops: AttachmentOps,
pub stencil_ops: AttachmentOps,
pub clear_value: (f32, u32),
}
Fields§
§target: Attachment<'a, T>
§depth_ops: AttachmentOps
§stencil_ops: AttachmentOps
§clear_value: (f32, u32)
Implementations§
source§impl<'a> DepthStencilAttachment<'a, dyn DynTextureView>
impl<'a> DepthStencilAttachment<'a, dyn DynTextureView>
pub fn expect_downcast<B: DynTextureView>( &self, ) -> DepthStencilAttachment<'a, B>
Trait Implementations§
source§impl<'a, T: Clone + DynTextureView + ?Sized> Clone for DepthStencilAttachment<'a, T>
impl<'a, T: Clone + DynTextureView + ?Sized> Clone for DepthStencilAttachment<'a, T>
source§fn clone(&self) -> DepthStencilAttachment<'a, T>
fn clone(&self) -> DepthStencilAttachment<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, T> Freeze for DepthStencilAttachment<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for DepthStencilAttachment<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for DepthStencilAttachment<'a, T>where
T: ?Sized,
impl<'a, T> Sync for DepthStencilAttachment<'a, T>where
T: ?Sized,
impl<'a, T> Unpin for DepthStencilAttachment<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for DepthStencilAttachment<'a, T>where
T: RefUnwindSafe + ?Sized,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)