Trait libreda_db::prelude::TextType
source · [−]Expand description
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 an Rc<String>
could be used for instance.