Struct wgpu_hal::BufferBarrier
source · pub struct BufferBarrier<'a, B: DynBuffer + ?Sized> {
pub buffer: &'a B,
pub usage: Range<BufferUses>,
}
Fields§
§buffer: &'a B
§usage: Range<BufferUses>
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> Freeze for BufferBarrier<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for BufferBarrier<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for BufferBarrier<'a, B>where
B: ?Sized,
impl<'a, B> Sync for BufferBarrier<'a, B>where
B: ?Sized,
impl<'a, B> Unpin for BufferBarrier<'a, B>where
B: ?Sized,
impl<'a, B> UnwindSafe for BufferBarrier<'a, B>where
B: 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