Module func

Module func 

Structs§

Closure
A user-defined closure.
Func
A mapping from argument values to a return value.
NativeFuncData
Defines a native function.
NativeFuncPtr
A pointer to a native function’s implementation.
NativeParamInfo
Describes a function parameter.

Enums§

ClosureNode
Distinguishes between variants of closures.
ClosureParamInfo
Details about a closure parameter.
FuncInner
The different kinds of function representations.
ParamInfo
Details about a function parameter.

Traits§

NativeFunc
A Typst function that is defined by a native Rust type that shadows a native Rust function.

Attribute Macros§

func
Makes a native Rust function usable as a Typst function.