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