pub struct UprightRgba {
pub width: u32,
pub height: u32,
pub rgba: Vec<u8>,
}Expand description
A frame’s pixels as tightly packed RGBA8, already the right way up.
width and height describe the turned image, so a 90° or 270° turn swaps
them relative to the frame that produced this.
Fields§
§width: u32§height: u32§rgba: Vec<u8>Trait Implementations§
Source§impl Clone for UprightRgba
impl Clone for UprightRgba
Source§impl Debug for UprightRgba
impl Debug for UprightRgba
impl Eq for UprightRgba
Source§impl PartialEq for UprightRgba
impl PartialEq for UprightRgba
impl StructuralPartialEq for UprightRgba
Auto Trait Implementations§
impl Freeze for UprightRgba
impl RefUnwindSafe for UprightRgba
impl Send for UprightRgba
impl Sync for UprightRgba
impl Unpin for UprightRgba
impl UnsafeUnpin for UprightRgba
impl UnwindSafe for UprightRgba
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