pub struct WriteTexture {
pub texture: GpuId,
pub data: Vec<u8>,
pub bytes_per_row: u32,
pub rows_per_image: u32,
pub width: u32,
pub height: u32,
pub depth: u32,
}Fields§
§texture: GpuId§data: Vec<u8>§bytes_per_row: u32§rows_per_image: u32§width: u32§height: u32§depth: u32Trait Implementations§
Source§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