Struct wgpu_hal::BufferTextureCopy
source · pub struct BufferTextureCopy {
pub buffer_layout: ImageDataLayout,
pub texture_base: TextureCopyBase,
pub size: CopyExtent,
}
Fields§
§buffer_layout: ImageDataLayout
§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 more