| 130 | } |
| 131 | |
| 132 | pub struct TextSegment<'a> { |
| 133 | pub content: Cow<'a, str>, |
| 134 | pub color: Color, |
| 135 | } |
| 136 | |
| 137 | impl<'a> TextSegment<'a> { |
| 138 | pub fn new(content: impl Into<Cow<'a, str>>) -> TextSegment<'a> { |
nothing calls this directly
no outgoing calls
no test coverage detected