pub enum DitherType {
None,
FloydSteinberg,
BlueNoise,
Ordered,
}Expand description
Dithering algorithms supported by Pixie-Anim.
Variants§
None
No dithering (sharp edges, potential banding)
FloydSteinberg
Spatial error diffusion (Floyd-Steinberg)
BlueNoise
Deterministic perceptual noise
Ordered
Matrix-based deterministic dithering (Bayer 8x8)
Trait Implementations§
Source§impl Clone for DitherType
impl Clone for DitherType
Source§fn clone(&self) -> DitherType
fn clone(&self) -> DitherType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DitherType
impl Debug for DitherType
Source§impl PartialEq for DitherType
impl PartialEq for DitherType
impl Copy for DitherType
impl Eq for DitherType
impl StructuralPartialEq for DitherType
Auto Trait Implementations§
impl Freeze for DitherType
impl RefUnwindSafe for DitherType
impl Send for DitherType
impl Sync for DitherType
impl Unpin for DitherType
impl UnwindSafe for DitherType
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