pub enum Signature {
Show 21 variants IFO, ARE, GIT, GIC, UTC, UTD, UTE, UTI, UTP, UTS, UTM, UTT, UTW, DLG, JRL, FAC, ITP, PTM, PTT, BIC, Other([u8; 4]),
}
Expand description

Определяет назначение файла. Сигнатура записана в первых 4-х байтах файла на диске

Variants

IFO

Информация о модуле

ARE

Описание области

GIT

Инстанции игровых объектов и динамические свойства области

GIC

Комментарий к области

UTC

Шаблон (blueprint) существа

UTD

Шаблон (blueprint) двери

UTE

Шаблон (blueprint) схватки (encounter)

UTI

Шаблон (blueprint) предмета

UTP

Шаблон (blueprint) размещаемого объекта окружения (placeable)

UTS

Шаблон (blueprint) звука

UTM

Шаблон (blueprint) магазина

UTT

Шаблон (blueprint) триггера

UTW

Шаблон (blueprint) навигационной точки (waypoint)

DLG

Диалог

JRL

Журнал заданий

FAC

Описания фракций

ITP

Палитра

PTM

Файл мастера сценариев: plot instance/plot manager file

PTT

Файл мастера сценариев: plot wizard blueprint

BIC

Параметры существа или игрового персонажа, создаваемые игрой

Other([u8; 4])

Прочие виды файлов

Implementations

Читает из указанного потока 4 байта сигнатуры файла

Записывает 4 байта сигнатуры в поток

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.