pub struct FrameDelta {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
pub indices: Vec<u8>,
}Expand description
Represents the difference between two consecutive frames.
Fields§
§x: u16X coordinate of the delta bounding box.
y: u16Y coordinate of the delta bounding box.
width: u16Width of the delta bounding box.
height: u16Height of the delta bounding box.
indices: Vec<u8>Palette indices for the pixels within the bounding box.
Trait Implementations§
Source§impl Debug for FrameDelta
impl Debug for FrameDelta
Source§impl Default for FrameDelta
impl Default for FrameDelta
Source§fn default() -> FrameDelta
fn default() -> FrameDelta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameDelta
impl RefUnwindSafe for FrameDelta
impl Send for FrameDelta
impl Sync for FrameDelta
impl Unpin for FrameDelta
impl UnwindSafe for FrameDelta
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