Struct wgpu_hal::BufferBinding
source · [−]pub struct BufferBinding<'a, A: Api> {
pub buffer: &'a A::Buffer,
pub offset: BufferAddress,
pub size: Option<BufferSize>,
}
Fields
buffer: &'a A::Buffer
offset: BufferAddress
size: Option<BufferSize>
Trait Implementations
sourceimpl<A: Api> Clone for BufferBinding<'_, A>
impl<A: Api> Clone for BufferBinding<'_, A>
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for BufferBinding<'a, A> where
<A as Api>::Buffer: RefUnwindSafe,
impl<'a, A> Send for BufferBinding<'a, A>
impl<'a, A> Sync for BufferBinding<'a, A>
impl<'a, A> Unpin for BufferBinding<'a, A>
impl<'a, A> UnwindSafe for BufferBinding<'a, A> where
<A as Api>::Buffer: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more