pub trait ColModify: Copy {
// Required methods
fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>;
fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>;
// Provided method
fn compose<Other>(self, other: Other) -> ColModifyCompose<Self, Other>
where Other: ColModify { ... }
}
Required Methods§
fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
Provided Methods§
fn compose<Other>(self, other: Other) -> ColModifyCompose<Self, Other>where
Other: ColModify,
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.