Struct deno_webgpu::command_encoder::GpuImageCopyTexture
source · [−]pub struct GpuImageCopyTexture {
pub texture: ResourceId,
pub mip_level: u32,
pub origin: Origin3d,
pub aspect: TextureAspect,
}
Fields
texture: ResourceId
mip_level: u32
origin: Origin3d
aspect: TextureAspect
Trait Implementations
sourceimpl<'de> Deserialize<'de> for GpuImageCopyTexture
impl<'de> Deserialize<'de> for GpuImageCopyTexture
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GpuImageCopyTexture
impl Send for GpuImageCopyTexture
impl Sync for GpuImageCopyTexture
impl Unpin for GpuImageCopyTexture
impl UnwindSafe for GpuImageCopyTexture
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