Struct wgpu_hal::BufferTextureCopy
source · pub struct BufferTextureCopy {
pub buffer_layout: TexelCopyBufferLayout,
pub texture_base: TextureCopyBase,
pub size: CopyExtent,
}
Fields§
§buffer_layout: TexelCopyBufferLayout
§texture_base: TextureCopyBase
§size: CopyExtent
Implementations§
source§impl BufferTextureCopy
impl BufferTextureCopy
pub fn clamp_size_to_virtual(&mut self, full_size: &CopyExtent)
Trait Implementations§
source§impl Clone for BufferTextureCopy
impl Clone for BufferTextureCopy
source§fn clone(&self) -> BufferTextureCopy
fn clone(&self) -> BufferTextureCopy
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 RefUnwindSafe for BufferTextureCopy
impl Send for BufferTextureCopy
impl Sync for BufferTextureCopy
impl Unpin for BufferTextureCopy
impl UnwindSafe for BufferTextureCopy
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