Module iron_shapes::text
source · Expand description
Text
is used as labels associated with a point.
Structs
- A text is a point associated with a string. This struct does not define how the text should be rendered on screen.
Traits
- Trait for types that can be used as the text of this label. The most simple solution is to use
String
. However, in many cases where the same text is used in many labels it might be desirable to use ‘string interning’ for more efficient memory usage. Then anRc<String>
could be used for instance.