Enum esl::Field

source ·
pub enum Field {
Show 72 variants None, Ai(Ai), AiActivate(AiActivate), AiTarget(AiTarget), AiTravel(AiTravel), AiWander(AiWander), Apparatus(Apparatus), Armor(Armor), BipedObject(BipedObject), BodyPart(BodyPart), Book(Book), Cell(Cell), Class(Class), Clothing(Clothing), Color(Color), ContainerFlags(ContainerFlags), Creature(Creature), CreatureFlags(FlagsAndBlood<CreatureFlags>), DialogType(DialogType), Effect(Effect), EffectIndex(EffectIndex), Tag(Tag), EffectMetadata(EffectMetadata), Enchantment(Enchantment), F32(f32), F32List(Vec<f32>), Faction(Faction), FileMetadata(FileMetadata), Grid(Grid), I16(i16), I16List(Vec<i16>), I32(i32), I32List(Vec<i32>), I64(i64), Info(Info), Ingredient(Ingredient), Interior(Interior), Item(Item), Light(Light), MiscItem(MiscItem), Npc(Npc), NpcFlags(FlagsAndBlood<NpcFlags>), NpcState(NpcState), PathGrid(PathGrid), Pos(Pos), PosRot(PosRot), Potion(Potion), Race(Race), ScriptMetadata(ScriptMetadata), ScriptVars(ScriptVars), Skill(Skill), SkillMetadata(SkillMetadata), Sound(Sound), SoundChance(SoundChance), SoundGen(SoundGen), Spell(Spell), String(String), StringList(Vec<String>), StringZ(StringZ), StringZList(StringZList), Tool(Tool), U8(u8), Bool(bool), U8List(Vec<u8>), Weapon(Weapon), Weather(Weather), CurrentTime(CurrentTime), Time(Time), EffectArg(EffectArg), Attributes(Attributes<u32>), Skills(Skills<u32>), ScriptData(ScriptData),
}

Variants§

§

None

§

Ai(Ai)

§

AiActivate(AiActivate)

§

AiTarget(AiTarget)

§

AiTravel(AiTravel)

§

AiWander(AiWander)

§

Apparatus(Apparatus)

§

Armor(Armor)

§

BipedObject(BipedObject)

§

BodyPart(BodyPart)

§

Book(Book)

§

Cell(Cell)

§

Class(Class)

§

Clothing(Clothing)

§

Color(Color)

§

ContainerFlags(ContainerFlags)

§

Creature(Creature)

§

CreatureFlags(FlagsAndBlood<CreatureFlags>)

§

DialogType(DialogType)

§

Effect(Effect)

§

EffectIndex(EffectIndex)

§

Tag(Tag)

§

EffectMetadata(EffectMetadata)

§

Enchantment(Enchantment)

§

F32(f32)

§

F32List(Vec<f32>)

§

Faction(Faction)

§

FileMetadata(FileMetadata)

§

Grid(Grid)

§

I16(i16)

§

I16List(Vec<i16>)

§

I32(i32)

§

I32List(Vec<i32>)

§

I64(i64)

§

Info(Info)

§

Ingredient(Ingredient)

§

Interior(Interior)

§

Item(Item)

§

Light(Light)

§

MiscItem(MiscItem)

§

Npc(Npc)

§

NpcFlags(FlagsAndBlood<NpcFlags>)

§

NpcState(NpcState)

§

PathGrid(PathGrid)

§

Pos(Pos)

§

PosRot(PosRot)

§

Potion(Potion)

§

Race(Race)

§

ScriptMetadata(ScriptMetadata)

§

ScriptVars(ScriptVars)

§

Skill(Skill)

§

SkillMetadata(SkillMetadata)

§

Sound(Sound)

§

SoundChance(SoundChance)

§

SoundGen(SoundGen)

§

Spell(Spell)

§

String(String)

§

StringList(Vec<String>)

§

StringZ(StringZ)

§

StringZList(StringZList)

§

Tool(Tool)

§

U8(u8)

§

Bool(bool)

§

U8List(Vec<u8>)

§

Weapon(Weapon)

§

Weather(Weather)

§

CurrentTime(CurrentTime)

§

Time(Time)

§

EffectArg(EffectArg)

§

Attributes(Attributes<u32>)

§

Skills(Skills<u32>)

§

ScriptData(ScriptData)

Implementations§

source§

impl Field

source

pub fn fit(&mut self, record_tag: Tag, prev_tag: Tag, field_tag: Tag)

Trait Implementations§

source§

impl Clone for Field

source§

fn clone(&self) -> Field

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Field

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Field

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl From<()> for Field

source§

fn from(_: ()) -> Self

Converts to this type from the input type.
source§

impl From<Ai> for Field

source§

fn from(v: Ai) -> Self

Converts to this type from the input type.
source§

impl From<AiActivate> for Field

source§

fn from(v: AiActivate) -> Self

Converts to this type from the input type.
source§

impl From<AiTarget> for Field

source§

fn from(v: AiTarget) -> Self

Converts to this type from the input type.
source§

impl From<AiTravel> for Field

source§

fn from(v: AiTravel) -> Self

Converts to this type from the input type.
source§

impl From<AiWander> for Field

source§

fn from(v: AiWander) -> Self

Converts to this type from the input type.
source§

impl From<Apparatus> for Field

source§

fn from(v: Apparatus) -> Self

Converts to this type from the input type.
source§

impl From<Armor> for Field

source§

fn from(v: Armor) -> Self

Converts to this type from the input type.
source§

impl From<Attributes<u32>> for Field

source§

fn from(v: Attributes<u32>) -> Self

Converts to this type from the input type.
source§

impl From<BipedObject> for Field

source§

fn from(v: BipedObject) -> Self

Converts to this type from the input type.
source§

impl From<BodyPart> for Field

source§

fn from(v: BodyPart) -> Self

Converts to this type from the input type.
source§

impl From<Book> for Field

source§

fn from(v: Book) -> Self

Converts to this type from the input type.
source§

impl From<Cell> for Field

source§

fn from(v: Cell) -> Self

Converts to this type from the input type.
source§

impl From<Class> for Field

source§

fn from(v: Class) -> Self

Converts to this type from the input type.
source§

impl From<Clothing> for Field

source§

fn from(v: Clothing) -> Self

Converts to this type from the input type.
source§

impl From<Color> for Field

source§

fn from(v: Color) -> Self

Converts to this type from the input type.
source§

impl From<ContainerFlags> for Field

source§

fn from(v: ContainerFlags) -> Self

Converts to this type from the input type.
source§

impl From<Creature> for Field

source§

fn from(v: Creature) -> Self

Converts to this type from the input type.
source§

impl From<CurrentTime> for Field

source§

fn from(v: CurrentTime) -> Self

Converts to this type from the input type.
source§

impl From<DialogType> for Field

source§

fn from(v: DialogType) -> Self

Converts to this type from the input type.
source§

impl From<Effect> for Field

source§

fn from(v: Effect) -> Self

Converts to this type from the input type.
source§

impl From<EffectArg> for Field

source§

fn from(v: EffectArg) -> Self

Converts to this type from the input type.
source§

impl From<EffectIndex> for Field

source§

fn from(v: EffectIndex) -> Self

Converts to this type from the input type.
source§

impl From<EffectMetadata> for Field

source§

fn from(v: EffectMetadata) -> Self

Converts to this type from the input type.
source§

impl From<Enchantment> for Field

source§

fn from(v: Enchantment) -> Self

Converts to this type from the input type.
source§

impl From<Faction> for Field

source§

fn from(v: Faction) -> Self

Converts to this type from the input type.
source§

impl From<FileMetadata> for Field

source§

fn from(v: FileMetadata) -> Self

Converts to this type from the input type.
source§

impl From<FlagsAndBlood<CreatureFlags>> for Field

source§

fn from(v: FlagsAndBlood<CreatureFlags>) -> Self

Converts to this type from the input type.
source§

impl From<FlagsAndBlood<NpcFlags>> for Field

source§

fn from(v: FlagsAndBlood<NpcFlags>) -> Self

Converts to this type from the input type.
source§

impl From<Grid> for Field

source§

fn from(v: Grid) -> Self

Converts to this type from the input type.
source§

impl From<Info> for Field

source§

fn from(v: Info) -> Self

Converts to this type from the input type.
source§

impl From<Ingredient> for Field

source§

fn from(v: Ingredient) -> Self

Converts to this type from the input type.
source§

impl From<Interior> for Field

source§

fn from(v: Interior) -> Self

Converts to this type from the input type.
source§

impl From<Item> for Field

source§

fn from(v: Item) -> Self

Converts to this type from the input type.
source§

impl From<Light> for Field

source§

fn from(v: Light) -> Self

Converts to this type from the input type.
source§

impl From<MiscItem> for Field

source§

fn from(v: MiscItem) -> Self

Converts to this type from the input type.
source§

impl From<Npc> for Field

source§

fn from(v: Npc) -> Self

Converts to this type from the input type.
source§

impl From<NpcState> for Field

source§

fn from(v: NpcState) -> Self

Converts to this type from the input type.
source§

impl From<PathGrid> for Field

source§

fn from(v: PathGrid) -> Self

Converts to this type from the input type.
source§

impl From<Pos> for Field

source§

fn from(v: Pos) -> Self

Converts to this type from the input type.
source§

impl From<PosRot> for Field

source§

fn from(v: PosRot) -> Self

Converts to this type from the input type.
source§

impl From<Potion> for Field

source§

fn from(v: Potion) -> Self

Converts to this type from the input type.
source§

impl From<Race> for Field

source§

fn from(v: Race) -> Self

Converts to this type from the input type.
source§

impl From<ScriptData> for Field

source§

fn from(v: ScriptData) -> Self

Converts to this type from the input type.
source§

impl From<ScriptMetadata> for Field

source§

fn from(v: ScriptMetadata) -> Self

Converts to this type from the input type.
source§

impl From<ScriptVars> for Field

source§

fn from(v: ScriptVars) -> Self

Converts to this type from the input type.
source§

impl From<Skill> for Field

source§

fn from(v: Skill) -> Self

Converts to this type from the input type.
source§

impl From<SkillMetadata> for Field

source§

fn from(v: SkillMetadata) -> Self

Converts to this type from the input type.
source§

impl From<Skills<u32>> for Field

source§

fn from(v: Skills<u32>) -> Self

Converts to this type from the input type.
source§

impl From<Sound> for Field

source§

fn from(v: Sound) -> Self

Converts to this type from the input type.
source§

impl From<SoundChance> for Field

source§

fn from(v: SoundChance) -> Self

Converts to this type from the input type.
source§

impl From<SoundGen> for Field

source§

fn from(v: SoundGen) -> Self

Converts to this type from the input type.
source§

impl From<Spell> for Field

source§

fn from(v: Spell) -> Self

Converts to this type from the input type.
source§

impl From<String> for Field

source§

fn from(v: String) -> Self

Converts to this type from the input type.
source§

impl From<StringZ> for Field

source§

fn from(v: StringZ) -> Self

Converts to this type from the input type.
source§

impl From<StringZList> for Field

source§

fn from(v: StringZList) -> Self

Converts to this type from the input type.
source§

impl From<Tag> for Field

source§

fn from(v: Tag) -> Self

Converts to this type from the input type.
source§

impl From<Time> for Field

source§

fn from(v: Time) -> Self

Converts to this type from the input type.
source§

impl From<Tool> for Field

source§

fn from(v: Tool) -> Self

Converts to this type from the input type.
source§

impl From<Vec<String>> for Field

source§

fn from(v: Vec<String>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<f32>> for Field

source§

fn from(v: Vec<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<i16>> for Field

source§

fn from(v: Vec<i16>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<i32>> for Field

source§

fn from(v: Vec<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<u8>> for Field

source§

fn from(v: Vec<u8>) -> Self

Converts to this type from the input type.
source§

impl From<Weapon> for Field

source§

fn from(v: Weapon) -> Self

Converts to this type from the input type.
source§

impl From<Weather> for Field

source§

fn from(v: Weather) -> Self

Converts to this type from the input type.
source§

impl From<bool> for Field

source§

fn from(v: bool) -> Self

Converts to this type from the input type.
source§

impl From<f32> for Field

source§

fn from(v: f32) -> Self

Converts to this type from the input type.
source§

impl From<i16> for Field

source§

fn from(v: i16) -> Self

Converts to this type from the input type.
source§

impl From<i32> for Field

source§

fn from(v: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for Field

source§

fn from(v: i64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for Field

source§

fn from(v: u8) -> Self

Converts to this type from the input type.
source§

impl Eq for Field

Auto Trait Implementations§

§

impl RefUnwindSafe for Field

§

impl Send for Field

§

impl Sync for Field

§

impl Unpin for Field

§

impl UnwindSafe for Field

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.