pub struct HostTexturePixels {
pub texture: HostTexture,
pub rgba8: Vec<u8>,
}Expand description
RGBA8 pixels returned by an image, video, or text rasterization host.
Fields§
§texture: HostTextureShared texture descriptor. Text hosts additionally return TextTexture.
rgba8: Vec<u8>Tightly packed top-to-bottom RGBA8 rows.
Implementations§
Trait Implementations§
Source§impl Clone for HostTexturePixels
impl Clone for HostTexturePixels
Source§impl Debug for HostTexturePixels
impl Debug for HostTexturePixels
Source§impl PartialEq for HostTexturePixels
impl PartialEq for HostTexturePixels
impl StructuralPartialEq for HostTexturePixels
Auto Trait Implementations§
impl Freeze for HostTexturePixels
impl RefUnwindSafe for HostTexturePixels
impl Send for HostTexturePixels
impl Sync for HostTexturePixels
impl Unpin for HostTexturePixels
impl UnsafeUnpin for HostTexturePixels
impl UnwindSafe for HostTexturePixels
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