pub struct IndexedImage {
pub width: u32,
pub height: u32,
pub pixels: Vec<u8>,
}Expand description
An image of palette indices, row-major.
Fields§
§width: u32§height: u32§pixels: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for IndexedImage
impl Clone for IndexedImage
Source§impl Debug for IndexedImage
impl Debug for IndexedImage
impl Eq for IndexedImage
Source§impl PartialEq for IndexedImage
impl PartialEq for IndexedImage
impl StructuralPartialEq for IndexedImage
Auto Trait Implementations§
impl Forget for IndexedImage
impl Freeze for IndexedImage
impl Move for IndexedImage
impl RefUnwindSafe for IndexedImage
impl Send for IndexedImagewhere
RawVecInner: Send,
impl Sync for IndexedImagewhere
RawVecInner: Sync,
impl Unpin for IndexedImage
impl UnsafeUnpin for IndexedImage
impl UnwindSafe for IndexedImagewhere
RawVecInner: UnwindSafe,
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