(self, offset: TextSize)
| 83 | |
| 84 | impl Parts { |
| 85 | fn offset(self, offset: TextSize) -> Self { |
| 86 | let dot = self.dot.map(|dot| dot + offset); |
| 87 | let exp = self.exp.map(|exp| exp + offset); |
| 88 | |
| 89 | Self { dot, exp } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | impl From<hifijson::num::Parts> for Parts { |