Lines Matching refs:style
69 pub(crate) fn stylize(&mut self, style: impl Into<Option<Style>>, msg: impl Into<String>) {
70 self.stylize_(style.into(), msg.into());
133 fn stylize_(&mut self, style: Option<Style>, msg: String) {
135 self.pieces.push((style, msg));
193 for (style, content) in other {
194 self.stylize(style.into(), content.into());
203 for (style, content) in &self.pieces {
205 match style {
289 let style = c.0.map(|s| s.as_usize());
291 (style, content)