pub struct LocString {
pub strref: u32,
pub strings: Vec<(i32, String)>,
}Expand description
Localized string. Contains a strref + a list of locale-specific strings
Fields§
§strref: u32String Ref, to be resolved with a TLK file
strings: Vec<(i32, String)>List of strings for different locales
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocString
impl<'de> Deserialize<'de> for LocString
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LocString
impl RefUnwindSafe for LocString
impl Send for LocString
impl Sync for LocString
impl Unpin for LocString
impl UnwindSafe for LocString
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