pub struct LocalizedString {
pub en_gb: String,
pub ko_kr: String,
pub fr_fr: String,
pub de_de: String,
pub en_cn: String,
pub en_tw: String,
pub es_es: String,
pub es_mx: String,
pub flags: u32,
}Available on crate feature
vanilla only.Expand description
DBCs from the English version of the game will only have English version strings, while other localizations will have other languages.
You are most likely interested in, LocalizedString::en_gb, the English version.
Fields§
§en_gb: StringEnglish, Great Britain
ko_kr: StringKorean, Korea
fr_fr: StringFrench, France
de_de: StringGerman, Germany
en_cn: StringEnglish, China
en_tw: StringEnglish, Taiwan
es_es: StringSpanish, Spain
es_mx: StringSpanish, Mexico
flags: u32Unknown flags.
Trait Implementations§
Source§impl Clone for LocalizedString
impl Clone for LocalizedString
Source§fn clone(&self) -> LocalizedString
fn clone(&self) -> LocalizedString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalizedString
impl Debug for LocalizedString
Source§impl Default for LocalizedString
impl Default for LocalizedString
Source§fn default() -> LocalizedString
fn default() -> LocalizedString
Returns the “default value” for a type. Read more
Source§impl Hash for LocalizedString
impl Hash for LocalizedString
Source§impl Ord for LocalizedString
impl Ord for LocalizedString
Source§fn cmp(&self, other: &LocalizedString) -> Ordering
fn cmp(&self, other: &LocalizedString) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalizedString
impl PartialEq for LocalizedString
Source§impl PartialOrd for LocalizedString
impl PartialOrd for LocalizedString
impl Eq for LocalizedString
impl StructuralPartialEq for LocalizedString
Auto Trait Implementations§
impl Freeze for LocalizedString
impl RefUnwindSafe for LocalizedString
impl Send for LocalizedString
impl Sync for LocalizedString
impl Unpin for LocalizedString
impl UnwindSafe for LocalizedString
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