Enum a2lfile::GenericIfData[][src]

pub enum GenericIfData {
Show 19 variants None, Char(u32(i8, bool)), Int(u32(i16, bool)), Long(u32(i32, bool)), Int64(u32(i64, bool)), UChar(u32(u8, bool)), UInt(u32(u16, bool)), ULong(u32(u32, bool)), UInt64(u32(u64, bool)), Float(u32f32), Double(u32f64), String(u32String), Array(Vec<GenericIfData>), EnumItem(u32String), Sequence(Vec<GenericIfData>), TaggedStruct(HashMap<String, Vec<GenericIfDataTaggedItem>>), TaggedUnion(HashMap<String, Vec<GenericIfDataTaggedItem>>), Struct(Option<String>, u32Vec<GenericIfData>), Block { incfile: Option<String>, line: u32, items: Vec<GenericIfData>, },
}
Expand description

generic representation of data inside an IF_DATA block that can be loaded into application-specific data structures

Variants

None
Char(u32(i8, bool))

Tuple Fields of Char

0: u321: (i8, bool)
Int(u32(i16, bool))

Tuple Fields of Int

0: u321: (i16, bool)
Long(u32(i32, bool))

Tuple Fields of Long

0: u321: (i32, bool)
Int64(u32(i64, bool))

Tuple Fields of Int64

0: u321: (i64, bool)
UChar(u32(u8, bool))

Tuple Fields of UChar

0: u321: (u8, bool)
UInt(u32(u16, bool))

Tuple Fields of UInt

0: u321: (u16, bool)
ULong(u32(u32, bool))

Tuple Fields of ULong

0: u321: (u32, bool)
UInt64(u32(u64, bool))

Tuple Fields of UInt64

0: u321: (u64, bool)
Float(u32f32)

Tuple Fields of Float

0: u321: f32
Double(u32f64)

Tuple Fields of Double

0: u321: f64
String(u32String)

Tuple Fields of String

0: u321: String

Tuple Fields of Array

0: Vec<GenericIfData>
EnumItem(u32String)

Tuple Fields of EnumItem

0: u321: String
Sequence(Vec<GenericIfData>)

Tuple Fields of Sequence

0: Vec<GenericIfData>

Tuple Fields of TaggedStruct

0: HashMap<String, Vec<GenericIfDataTaggedItem>>

Tuple Fields of TaggedUnion

0: HashMap<String, Vec<GenericIfDataTaggedItem>>

Tuple Fields of Struct

0: Option<String>1: u322: Vec<GenericIfData>
Block

Fields of Block

incfile: Option<String>line: u32items: Vec<GenericIfData>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.