pub struct WriteTexture {
pub texture: TexelCopyTextureInfo,
pub layout: TexelCopyBufferLayout,
pub size: Extent3d,
}Expand description
Write to a texture from guest memory (the data travels separately).
Fields§
§texture: TexelCopyTextureInfo§layout: TexelCopyBufferLayout§size: Extent3dTrait Implementations§
Source§impl Clone for WriteTexture
impl Clone for WriteTexture
Source§fn clone(&self) -> WriteTexture
fn clone(&self) -> WriteTexture
Returns a duplicate 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 moreSource§impl Debug for WriteTexture
impl Debug for WriteTexture
Source§impl<'de> Deserialize<'de> for WriteTexture
impl<'de> Deserialize<'de> for WriteTexture
Source§fn 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 Freeze for WriteTexture
impl RefUnwindSafe for WriteTexture
impl Send for WriteTexture
impl Sync for WriteTexture
impl Unpin for WriteTexture
impl UnsafeUnpin for WriteTexture
impl UnwindSafe for WriteTexture
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