pub struct StringKey(/* private fields */);Expand description
Ключ, используемый для индексации локализуемых строк во внутреннем представлении строк (когда строки внедрены в GFF файл, а не используются ссылки на строки в TLK файле).
Implementations§
Trait Implementations§
Source§impl Into<u32> for StringKey
Преобразует ключ в число, в котором он храниться в GFF файле по формуле:
impl Into<u32> for StringKey
Преобразует ключ в число, в котором он храниться в GFF файле по формуле:
ⓘ
((self.language() as u32) << 1) | self.gender() as u32Source§impl<'de, E> IntoDeserializer<'de, E> for StringKeywhere
E: Error,
impl<'de, E> IntoDeserializer<'de, E> for StringKeywhere
E: Error,
Source§type Deserializer = StringKeyDeserializer<E>
type Deserializer = StringKeyDeserializer<E>
The type of the deserializer being converted into.
Source§fn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
impl Eq for StringKey
impl StructuralPartialEq for StringKey
Auto Trait Implementations§
impl Freeze for StringKey
impl RefUnwindSafe for StringKey
impl Send for StringKey
impl Sync for StringKey
impl Unpin for StringKey
impl UnwindSafe for StringKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.