pub struct DecodedImage {
pub width: usize,
pub height: usize,
pub rgba: Vec<u8>,
}Expand description
Decoded RGBA image.
Fields§
§width: usizeImage width in pixels.
height: usizeImage height in pixels.
rgba: Vec<u8>Packed RGBA8 pixels in row-major order.
Trait Implementations§
Source§impl Clone for DecodedImage
impl Clone for DecodedImage
Source§fn clone(&self) -> DecodedImage
fn clone(&self) -> DecodedImage
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 DecodedImage
impl Debug for DecodedImage
Source§impl PartialEq for DecodedImage
impl PartialEq for DecodedImage
impl Eq for DecodedImage
impl StructuralPartialEq for DecodedImage
Auto Trait Implementations§
impl Freeze for DecodedImage
impl RefUnwindSafe for DecodedImage
impl Send for DecodedImage
impl Sync for DecodedImage
impl Unpin for DecodedImage
impl UnsafeUnpin for DecodedImage
impl UnwindSafe for DecodedImage
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