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> 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
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
)