def renderer

bendvy-ecs-core@0.1.0.4 · ordinary_app_resource_field_declaration.bend:68

import bendvy-ecs-core@0.1.0.4/ordinary_app_resource_field_declaration.bend as OrdinaryAppResourceFieldDeclaration
import Base

68# Obtain the declared V -> String renderer, consuming the declaration.
69# The renderer receives only a Data view, not the selected affine field.
70def renderer(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Type -> Type,~V:Data,declaration:Declaration<S,C,R,E,Ops,V>) -> V -> String:
71  match declaration:
72    case Declaration{_,_,render}:render

Uses (2)

Used by (1)