Module func

Structs§

Closure
A user-defined closure.
Func
A mapping from argument values to a return value.
NativeFuncData
Defines a native function.
ParamInfo
Describes a function parameter.

Enums§

Repr
The different kinds of function representations.

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.