Lines Matching refs:pieces
8 pieces: Vec<(Option<Style>, String)>, field
10 pieces: String, field
17 Self { pieces: Vec::new() } in new()
24 pieces: String::new(), in new()
86 if let Some((_, item)) = self.pieces.last_mut() { in trim_end()
93 self.pieces = self.pieces.trim_end().to_owned(); in trim_end()
135 self.pieces.push((style, msg)); in stylize_()
141 self.pieces.push_str(&msg); in stylize_()
156 self.pieces.is_empty() in is_empty()
161 self.pieces.iter().map(|(s, c)| (*s, c.as_str())) in iter()
166 [(None, self.pieces.as_str())].into_iter() in iter()
171 self.pieces.iter_mut().map(|(s, c)| (*s, c)) in iter_mut()
176 [(None, &mut self.pieces)].into_iter() in iter_mut()
181 self.pieces.into_iter() in into_iter()
186 [(None, self.pieces)].into_iter() in into_iter()
203 for (style, content) in &self.pieces { in write_colored()