Trait libreda_db::prelude::TextType[][src]

pub trait TextType: Clone + Eq + Debug + Hash { }

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.

Implementors

impl<T> TextType for T where
    T: Clone + Eq + Debug + Hash
[src]

Loading content...