BWMode
pub enum BWMode { Atkinson, DefaultThreshold, Threshold(u32),}Controls conversion of image to black and white duotone.
Variants
Trait implementations
impl Clone for BWMode
impl Debug for BWMode
impl Serialize for BWMode
serialize
View sourcewhere S: Serializer,Parameters
- self: &Self
- serializer: S
Returns
Result<S::Ok, S::Error>