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
fn cut<R>(&self, range: R) -> String where
R: RangeBounds<usize>,
fn cut<R>(&self, range: R) -> String where
R: RangeBounds<usize>,
Cut string from the begging of the range to the end