Module prelude

Source

Structs§

Dynamic
Dynamic type containing any value.
Position
A location (line number + character position) in the input script.
TypeBuilder
Builder to build the API of a custom type for use with an [Engine].
Uuid
A Universally Unique Identifier (UUID).

Enums§

EvalAltResult
Evaluation result.

Traits§

CustomType
Trait to build the API of a custom type for use with an [Engine] (i.e. register the type and its getters, setters, methods, etc.).
Deserialize
A data structure that can be deserialized from any data format supported by Serde.
JsonSchema
A type which can be described as a JSON Schema document.
Serialize
A data structure that can be serialized into any data format supported by Serde.
Tsify
Tsify is a trait that allows you to convert a type to and from JavaScript. Can be implemented manually if you need to customize the serialization or deserialization.

Functions§

aa_background_schema
aa_entity_spine_schema
aa_image_schema
aa_vfx_cell_schema
aa_vfx_projectile_schema
aa_vfx_unit_schema
ability_link_id_array_schema
ability_link_id_schema
ability_rarity_link_id_array_schema
ability_rarity_link_id_schema
array_of
asset_ability_icon_schema
asset_ability_rarity_icon_schema
asset_ability_rarity_square_icon_schema
asset_attribute_icon_schema
asset_buff_icon_schema
asset_currency_icon_schema
asset_hero_skin_icon_schema
asset_hero_skin_spine_schema
asset_item_icon_schema
asset_item_rarity_icon_schema
asset_item_ribbon_icon_schema
asset_notification_bg_schema
asset_offer_icon_schema
asset_pet_icon_schema
asset_pet_rarity_icon_schema
asset_pet_rarity_square_icon_schema
asset_talent_icon_schema
asset_ui_dungeon_background_schema
asset_ui_dungeon_banner_schema
asset_unit_spine_skin
asset_vfx_object_schema
attribute_link_id_array_schema
attribute_link_id_schema
bird_variant_link_id_schema
buff_link_id_schema
bundle_id_schema
class_id_schema
color_schema
currency_link_id_array_schema
currency_link_id_schema
entity_link_id_array_schema
entity_link_id_schema
fight_template_link_id_array_schema
fight_template_link_id_schema
has_newlines
id_schema
item_link_id_schema
item_rarity_link_id_schema
link_id_schema
mail_id_schema
offer_link_id_array_schema
offer_link_id_schema
option_ability_link_id_schema
option_array_of
option_bundle_id_schema
option_link_id_schema
option_mail_id_schema
option_offer_link_id_schema
option_script_schema
pet_rarity_link_id_array_schema
pet_rarity_link_id_schema
quest_link_id_array_schema
quest_link_id_schema
resource_schema
script_schema
skin_link_id_array_schema
skin_link_id_schema
spine_schema
statue_bonus_grade_id_schema
talent_link_id_array_schema
talent_link_id_schema
unique_schema
unity_asset_from_group
vassal_task_id_schema
webp_path_schema
webp_url_array_schema
webp_url_schema

Type Aliases§

Array
Variable-sized array of Dynamic values.

Attribute Macros§

declare
The declare macro, used in #[declare] annotations.

Derive Macros§

CustomType
Macro to implement the [CustomType][rhai::CustomType] trait.
Deserialize
JsonSchema
Serialize
Tsify
The Tsify derive macro, used in #[derive(Tsify, ...)] annotations.