The point is to avoid redundant allocations when rendering `BigText`. There can be two ways to do that: - Use `Arc<[Line]>` instead of `Vec<Line>` to share the same text lines. - Or try to `impl Widget for &BigText`.
The point is to avoid redundant allocations when rendering
BigText.There can be two ways to do that:
Arc<[Line]>instead ofVec<Line>to share the same text lines.impl Widget for &BigText.