pub struct TextureReadback {
pub data: Vec<u8>,
pub format: TextureFormat,
pub width: u32,
pub height: u32,
}Fields§
§data: Vec<u8>§format: TextureFormat§width: u32§height: u32Trait Implementations§
Source§impl Clone for TextureReadback
impl Clone for TextureReadback
Source§fn clone(&self) -> TextureReadback
fn clone(&self) -> TextureReadback
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for TextureReadback
impl RefUnwindSafe for TextureReadback
impl Send for TextureReadback
impl Sync for TextureReadback
impl Unpin for TextureReadback
impl UnsafeUnpin for TextureReadback
impl UnwindSafe for TextureReadback
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