pub(crate) struct BufferBarriers<'a, 'b> {
scratch: &'a mut BufferBarrierScratch<'b>,
}
Fields§
§scratch: &'a mut BufferBarrierScratch<'b>
Implementations§
Source§impl<'a, 'b> BufferBarriers<'a, 'b>
impl<'a, 'b> BufferBarriers<'a, 'b>
pub(crate) fn new(scratch: &'a mut BufferBarrierScratch<'_>) -> Self
pub(crate) fn extend( self, iter: impl Iterator<Item = BufferBarrier<'b, dyn DynBuffer>>, ) -> Self
pub(crate) fn encode(self, encoder: &mut dyn DynCommandEncoder)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for BufferBarriers<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for BufferBarriers<'a, 'b>
impl<'a, 'b> Send for BufferBarriers<'a, 'b>
impl<'a, 'b> Sync for BufferBarriers<'a, 'b>
impl<'a, 'b> Unpin for BufferBarriers<'a, 'b>
impl<'a, 'b> !UnwindSafe for BufferBarriers<'a, 'b>
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