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