darklua_core

Module rules

Source
Expand description

A module that contains the different rules that mutates a Lua block.

Modules§

Structs§

Enums§

  • When implementing the configure method of the Rule trait, the method returns a result that uses this error type.
  • In order to be able to weakly-type the properties of any rule, this enum makes it possible to easily use serde to gather the value associated with a property.

Constants§

Traits§

Functions§

  • A function to get the default rule stack for darklua. All the rules here must preserve all the functionalities of the original code after being applied. They must guarantee that the processed block will work as much as the original one.

Type Aliases§