Struct wgpu_hal::DepthStencilAttachment
source · [−]pub struct DepthStencilAttachment<'a, A: Api> {
pub target: Attachment<'a, A>,
pub depth_ops: AttachmentOps,
pub stencil_ops: AttachmentOps,
pub clear_value: (f32, u32),
}
Fields
target: Attachment<'a, A>
depth_ops: AttachmentOps
stencil_ops: AttachmentOps
clear_value: (f32, u32)
Trait Implementations
sourceimpl<'a, A: Clone + Api> Clone for DepthStencilAttachment<'a, A>
impl<'a, A: Clone + Api> Clone for DepthStencilAttachment<'a, A>
sourcefn clone(&self) -> DepthStencilAttachment<'a, A>
fn clone(&self) -> DepthStencilAttachment<'a, A>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for DepthStencilAttachment<'a, A> where
<A as Api>::TextureView: RefUnwindSafe,
impl<'a, A> Send for DepthStencilAttachment<'a, A>
impl<'a, A> Sync for DepthStencilAttachment<'a, A>
impl<'a, A> Unpin for DepthStencilAttachment<'a, A>
impl<'a, A> UnwindSafe for DepthStencilAttachment<'a, A> where
<A as Api>::TextureView: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more