Trait ansi_cut::AnsiCut[][src]

pub trait AnsiCut {
    fn cut<R>(&self, range: R) -> String
    where
        R: RangeBounds<usize>
; }
Expand description

AnsiCut a trait for a cut string while keeping information about its color

Required methods

Cut string from the begging of the range to the end

Implementations on Foreign Types

Implementors