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>
impl<'a, T> Sync for DepthStencilAttachment<'a, T>
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
)