Struct wgpu_util::SizedBuffer
source · [−]pub struct SizedBuffer {
pub size: BufferAddress,
pub buffer: Buffer,
}Expand description
Thin wgpu::Buffer wrapper with size.
Fields
size: BufferAddressbuffer: BufferImplementations
sourceimpl SizedBuffer
impl SizedBuffer
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SizedBuffer
impl Send for SizedBuffer
impl Sync for SizedBuffer
impl Unpin for SizedBuffer
impl !UnwindSafe for SizedBuffer
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