Enum rurtle::environ::Function
[−]
[src]
pub enum Function { Defined(Node), Native(i32, FuncType), }
A function available to Rurtle programs can either be a function defined in a Rurtle program or a native function of FuncType
Variants
Defined | This variant holds a function that was defined in Rurtle via the LEARN
statement. The node passed has to be the |
Native | This variant holds a native Rust function that should be available to
Rurtle. The first parameter is the number of arguments since they can't
be extracted from the function pointer. The second argument is a
function of |