(content: S)
| 12 | |
| 13 | impl Text { |
| 14 | pub fn new<S: Into<String>>(content: S) -> Self { |
| 15 | Self { |
| 16 | content: content.into(), |
| 17 | style: Style::default(), |
| 18 | bounds: Rect::default(), |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | pub fn with_style(mut self, style: Style) -> Self { |
| 23 | self.style = style; |
nothing calls this directly
no outgoing calls
no test coverage detected