pub struct TextureCopyView<'a> {
pub texture: &'a Texture,
pub mip_level: u32,
pub origin: Origin3d,
}
Expand description
View of a texture which can be used to copy to/from a buffer/texture.
Fields§
§texture: &'a Texture
The texture to be copied to/from.
mip_level: u32
The target mip level of the texture.
origin: Origin3d
The base texel of the texture in the selected mip_level
.
Trait Implementations§
Source§impl<'a> Clone for TextureCopyView<'a>
impl<'a> Clone for TextureCopyView<'a>
Source§fn clone(&self) -> TextureCopyView<'a>
fn clone(&self) -> TextureCopyView<'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 TextureCopyView<'a>
impl<'a> !RefUnwindSafe for TextureCopyView<'a>
impl<'a> Send for TextureCopyView<'a>
impl<'a> Sync for TextureCopyView<'a>
impl<'a> Unpin for TextureCopyView<'a>
impl<'a> !UnwindSafe for TextureCopyView<'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