[][src]Function ansistr::style_str

pub fn style_str<S: Into<String>>(txt: S, style: &TextStyle) -> String

Wraps text with ANSI style codes.