pub struct RenderPassDesc<'d, 'a> {
pub color: &'d [ColorAttachment<'a>],
pub depth: Option<DepthAttachment<'a>>,
}Expand description
CommandEncoder::begin_render (the slice may be a temporary: only the views are borrowed for the encoder’s lifetime)
Fields§
§color: &'d [ColorAttachment<'a>]§depth: Option<DepthAttachment<'a>>Trait Implementations§
Source§impl<'d, 'a> Clone for RenderPassDesc<'d, 'a>
impl<'d, 'a> Clone for RenderPassDesc<'d, 'a>
impl<'d, 'a> Copy for RenderPassDesc<'d, 'a>
Auto Trait Implementations§
impl<'d, 'a> !RefUnwindSafe for RenderPassDesc<'d, 'a>
impl<'d, 'a> !UnwindSafe for RenderPassDesc<'d, 'a>
impl<'d, 'a> Forget for RenderPassDesc<'d, 'a>
impl<'d, 'a> Freeze for RenderPassDesc<'d, 'a>
impl<'d, 'a> Send for RenderPassDesc<'d, 'a>
impl<'d, 'a> Sync for RenderPassDesc<'d, 'a>
impl<'d, 'a> Unpin for RenderPassDesc<'d, 'a>
impl<'d, 'a> UnsafeUnpin for RenderPassDesc<'d, 'a>
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