Trait chargrid_event_routine::ColModify [−][src]
Required methods
pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
Provided methods
pub fn compose<Other>(self, other: Other) -> ColModifyCompose<Self, Other> where
Other: ColModify,
[src]
Other: ColModify,
Implementations on Foreign Types
impl<Inner, Outer> ColModify for ColModifyCompose<Inner, Outer> where
Inner: ColModify,
Outer: ColModify,
[src]
Inner: ColModify,
Outer: ColModify,
pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
impl ColModify for ColModifyIdentity
[src]
pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
impl<F> ColModify for ColModifyMap<F> where
F: Copy + Fn(Rgb24) -> Rgb24,
[src]
F: Copy + Fn(Rgb24) -> Rgb24,
pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
impl ColModify for ColModifyDefaultForeground
[src]
pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>
[src]
Implementors
impl<F> ColModify for F where
F: Copy + Fn(Option<Rgb24>) -> Option<Rgb24>,
[src]
F: Copy + Fn(Option<Rgb24>) -> Option<Rgb24>,