[][src]Struct lcat::Rainbow

pub struct Rainbow {
    pub color: CIELCHColor,
    // some fields omitted
}

Fields

color: CIELCHColor

Implementations

impl Rainbow[src]

pub fn new(start_color: &impl Color, shift_col: f64, shift_row: f64) -> Self[src]

pub fn step_row(&mut self, n_row: i32)[src]

pub fn step_col(&mut self, n_col: i32)[src]

pub fn reset_row(&mut self)[src]

pub fn reset_col(&mut self)[src]

pub fn colorize(&mut self, text: &[u8], out: &mut impl Write) -> Result<()>[src]

pub fn colorize_str(&mut self, text: &str, out: &mut impl Write) -> Result<()>[src]

Trait Implementations

impl Into<Rainbow> for RainbowCmd[src]

Auto Trait Implementations

impl RefUnwindSafe for Rainbow

impl Send for Rainbow

impl Sync for Rainbow

impl Unpin for Rainbow

impl UnwindSafe for Rainbow

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,