pub enum Dither {
None,
Fast,
Good,
Best,
OrderedBayer8,
OrderedBlueNoise64,
}Expand description
Defiens the possible dither operations
Variants§
None
No dithering
Fast
Fast dithering
Good
Good dithering
Best
Best dithering
OrderedBayer8
Ordered bayer 8 dithering
OrderedBlueNoise64
Ordered blue noise 64
Trait Implementations§
Source§impl From<Dither> for pixman_dither_t
impl From<Dither> for pixman_dither_t
Source§impl TryFrom<u32> for Dither
impl TryFrom<u32> for Dither
Source§type Error = UnknownDither
type Error = UnknownDither
The type returned in the event of a conversion error.
impl Copy for Dither
Auto Trait Implementations§
impl Freeze for Dither
impl RefUnwindSafe for Dither
impl Send for Dither
impl Sync for Dither
impl Unpin for Dither
impl UnwindSafe for Dither
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