Crate garnish_lang_simple_data

Crate garnish_lang_simple_data 

Source

Structs§

DataError
Error implemenation for crate::SimpleGarnishData.
DataIndexIterator
NoCustom
Default custom type for SimpleGarnishData when no custom types are needed.
NumberIterator
Custom size iterator for garnish_lang_traits::GarnishData implementation.
SimpleDataList
List of SimpleData with maps to convert symbolic values to original string.
SimpleGarnishData
Implementation of GarnishData. Uses standard Rust collections for storing data.
SimpleInstruction
Container for Instruction and any data need by those instructions during execution.
SimpleStackFrame
SizeIterator
Custom size iterator for garnish_lang_traits::GarnishData implementation.

Enums§

SimpleData
Data object to give GarnishDataType typed values. Can be passed a type parameter to extend supported data.
SimpleNumber
Number data type for garnish_lang_traits::GarnishData. Implements all math operations and switches between i32 and f64 depending on operands.

Constants§

UNIT_INDEX

Traits§

DisplayForCustomItem

Functions§

parse_byte_list
Called when building instructions to parse strings into byte lists.
parse_char_list
Called when building instructions to parse strings into character lists.
parse_simple_number
Called when building instructions to parse strings into SimpleNumber.
symbol_value
Utility to convert strings to u64, the Symbol type for SimpleGarnishData.

Type Aliases§

CustomDataDisplayHandler
DataCastResult
Alias for simple error type
SimpleDataNC
Alias for SimpleData with NoCustom type parameter.
SimpleDataRuntimeNC
Alias for SimpleGarnishData with NoCustom type parameter.