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: ?Sized> RefUnwindSafe for DepthStencilAttachment<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for DepthStencilAttachment<'a, T>
impl<'a, T: ?Sized> Sync for DepthStencilAttachment<'a, T>
impl<'a, T: ?Sized> Unpin for DepthStencilAttachment<'a, T>
impl<'a, T: ?Sized> UnwindSafe for DepthStencilAttachment<'a, T>where
T: RefUnwindSafe,
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