pub struct BufferCopyView<'a> {
pub buffer: &'a Buffer,
pub layout: TextureDataLayout,
}
Expand description
View of a buffer which can be used to copy to/from a texture.
Fields§
§buffer: &'a Buffer
The buffer to be copied to/from.
layout: TextureDataLayout
The layout of the texture data in this buffer.
Trait Implementations§
Source§impl<'a> Clone for BufferCopyView<'a>
impl<'a> Clone for BufferCopyView<'a>
Source§fn clone(&self) -> BufferCopyView<'a>
fn clone(&self) -> BufferCopyView<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for BufferCopyView<'a>
impl<'a> !RefUnwindSafe for BufferCopyView<'a>
impl<'a> Send for BufferCopyView<'a>
impl<'a> Sync for BufferCopyView<'a>
impl<'a> Unpin for BufferCopyView<'a>
impl<'a> !UnwindSafe for BufferCopyView<'a>
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