Trait chargrid_event_routine::ColModify[][src]

pub trait ColModify: Copy {
    pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>;
pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>; pub fn compose<Other>(self, other: Other) -> ColModifyCompose<Self, Other>
    where
        Other: ColModify
, { ... } }

Required methods

pub fn foreground(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>[src]

pub fn background(&self, rgb24: Option<Rgb24>) -> Option<Rgb24>[src]

Loading content...

Provided methods

pub fn compose<Other>(self, other: Other) -> ColModifyCompose<Self, Other> where
    Other: ColModify
[src]

Loading content...

Implementations on Foreign Types

impl<Inner, Outer> ColModify for ColModifyCompose<Inner, Outer> where
    Inner: ColModify,
    Outer: ColModify
[src]

impl ColModify for ColModifyIdentity[src]

impl<F> ColModify for ColModifyMap<F> where
    F: Copy + Fn(Rgb24) -> Rgb24, 
[src]

impl ColModify for ColModifyDefaultForeground[src]

Loading content...

Implementors

impl<F> ColModify for F where
    F: Copy + Fn(Option<Rgb24>) -> Option<Rgb24>, 
[src]

Loading content...