pub struct RawImage {
pub pixels: Vec<u8>,
pub image_dimensions: (usize, usize),
pub data_format: RawImageFormat,
}
Expand description
Raw image made up of raw pixels (either BRGA8 or A8)
Fields§
§pixels: Vec<u8>
§image_dimensions: (usize, usize)
§data_format: RawImageFormat
Trait Implementations§
impl Eq for RawImage
impl StructuralPartialEq for RawImage
Auto Trait Implementations§
impl Freeze for RawImage
impl RefUnwindSafe for RawImage
impl Send for RawImage
impl Sync for RawImage
impl Unpin for RawImage
impl UnwindSafe for RawImage
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