[−][src]Struct lcat::Rainbow
Implementations
impl Rainbow[src]
pub fn new(color: impl Into<Lab>, shift_col: i32, shift_row: i32) -> Self[src]
pub fn step_row(&mut self, n_row: usize)[src]
pub fn step_col(&mut self, n_col: usize)[src]
pub fn reset_row(&mut self)[src]
pub fn reset_col(&mut self)[src]
pub fn get_color(&mut self) -> RGB[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]
pub fn colorize_read(
&mut self,
input: &mut impl BufRead,
out: &mut impl Write
) -> Result<()>[src]
&mut self,
input: &mut impl BufRead,
out: &mut impl Write
) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rainbow[src]
impl Send for Rainbow[src]
impl Sync for Rainbow[src]
impl Unpin for Rainbow[src]
impl UnwindSafe for Rainbow[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,