#[polydat_node]Expand description
#[polydat_node] — derive a polydat node from a typed Rust
function signature.
See the crate docs for the argument and return shapes the macro accepts.
§Attribute parameters
category = <ident>— the polydatFuncCategoryvariant the node belongs to (Comparison,Math,String, etc.). Defaults toMiscwhen unspecified.struct_name = <Ident>— the Rust name of the generated node struct. Defaults to the function name in PascalCase, so a nodefn geo_cellproducesstruct GeoCell; set this when that name is already taken, typically by the value type the node returns. The DSL name is always the function name.simd = "<node-name>"declares an exact, lane-independent register-typed implementation of the scalar function.simd_totalcertifies that the declared SIMD implementation is defined for the complete scalar input domain. It requiressimd.