pub struct DeltaOptions<'a> {
pub width: u16,
pub height: u16,
pub palette: &'a [Rgb],
pub transparent_idx: u8,
pub fuzz_threshold: u32,
pub dither: DitherType,
}Expand description
Options for delta compression.
Fields§
§width: u16Frame width
height: u16Frame height
palette: &'a [Rgb]The global color palette
transparent_idx: u8The index reserved for transparency
fuzz_threshold: u32Squared distance threshold for “fuzzy” equality
dither: DitherTypeThe dithering algorithm to apply to changed pixels
Auto Trait Implementations§
impl<'a> Freeze for DeltaOptions<'a>
impl<'a> RefUnwindSafe for DeltaOptions<'a>
impl<'a> Send for DeltaOptions<'a>
impl<'a> Sync for DeltaOptions<'a>
impl<'a> Unpin for DeltaOptions<'a>
impl<'a> UnwindSafe for DeltaOptions<'a>
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