Struct wow_dbc::ExtendedLocalizedString
source · [−]pub struct ExtendedLocalizedString {Show 17 fields
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 ru_ru: String,
pub ja_jp: String,
pub pt_pt: String,
pub it_it: String,
pub unknown_12: String,
pub unknown_13: String,
pub unknown_14: String,
pub unknown_15: String,
pub flags: u32,
}Available on crate features
tbc or wrath 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
ru_ru: StringRussian, Russia
ja_jp: StringJapanese, Japan
pt_pt: StringPortuguese, Portugal
Also works as Portuguese, Brazil
it_it: StringItalian, Italy
unknown_12: StringPossibly unused.
unknown_13: StringPossibly unused.
unknown_14: StringPossibly unused.
unknown_15: StringPossibly unused.
flags: u32Unknown flags.
Trait Implementations
sourceimpl Clone for ExtendedLocalizedString
impl Clone for ExtendedLocalizedString
sourcefn clone(&self) -> ExtendedLocalizedString
fn clone(&self) -> ExtendedLocalizedString
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ExtendedLocalizedString
impl Debug for ExtendedLocalizedString
sourceimpl Default for ExtendedLocalizedString
impl Default for ExtendedLocalizedString
sourcefn default() -> ExtendedLocalizedString
fn default() -> ExtendedLocalizedString
Returns the “default value” for a type. Read more
sourceimpl Hash for ExtendedLocalizedString
impl Hash for ExtendedLocalizedString
sourceimpl Ord for ExtendedLocalizedString
impl Ord for ExtendedLocalizedString
sourcefn cmp(&self, other: &ExtendedLocalizedString) -> Ordering
fn cmp(&self, other: &ExtendedLocalizedString) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExtendedLocalizedString> for ExtendedLocalizedString
impl PartialEq<ExtendedLocalizedString> for ExtendedLocalizedString
sourcefn eq(&self, other: &ExtendedLocalizedString) -> bool
fn eq(&self, other: &ExtendedLocalizedString) -> bool
sourceimpl PartialOrd<ExtendedLocalizedString> for ExtendedLocalizedString
impl PartialOrd<ExtendedLocalizedString> for ExtendedLocalizedString
sourcefn partial_cmp(&self, other: &ExtendedLocalizedString) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendedLocalizedString) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ExtendedLocalizedString
impl StructuralEq for ExtendedLocalizedString
impl StructuralPartialEq for ExtendedLocalizedString
Auto Trait Implementations
impl RefUnwindSafe for ExtendedLocalizedString
impl Send for ExtendedLocalizedString
impl Sync for ExtendedLocalizedString
impl Unpin for ExtendedLocalizedString
impl UnwindSafe for ExtendedLocalizedString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more