pub struct LocalizedText {
pub text_index_en: TextIndex,
pub text_index_de: TextIndex,
pub text_index_fr: TextIndex,
}
Expand description
Combines three TextIndex
values for each of the supported languages to form a localized text.
Fields§
§text_index_en: TextIndex
A TextIndex
to the english text.
text_index_de: TextIndex
A TextIndex
to the german text.
text_index_fr: TextIndex
A TextIndex
to the french text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalizedText
impl RefUnwindSafe for LocalizedText
impl Send for LocalizedText
impl Sync for LocalizedText
impl Unpin for LocalizedText
impl UnwindSafe for LocalizedText
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more