pub trait BinaryColorDrawTargetExt: Sized {
// Required method
fn map_colors<S, C>(
&mut self,
area: &S,
on: C,
off: C,
) -> ColorMappingOverlay<'_, Self, S, C>
where S: Clone + ContainsPoint,
C: PixelColor;
}
Required Methods§
fn map_colors<S, C>( &mut self, area: &S, on: C, off: C, ) -> ColorMappingOverlay<'_, Self, S, C>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.