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
sourceimpl BufferTextureCopy
impl BufferTextureCopy
pub fn clamp_size_to_virtual(&mut self, full_size: &CopyExtent)
Trait Implementations
sourceimpl Clone for BufferTextureCopy
impl Clone for BufferTextureCopy
sourcefn clone(&self) -> BufferTextureCopy
fn clone(&self) -> BufferTextureCopy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for BufferTextureCopy
impl Send for BufferTextureCopy
impl Sync for BufferTextureCopy
impl Unpin for BufferTextureCopy
impl UnwindSafe for BufferTextureCopy
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