~/bend-docscommunity

optional_resource_binding.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.5/optional_resource_binding.bend as Optional_resource_binding

5 imports
import Base
import ./ordinary_schema.bend as Schema
import ./resource_field_binding.bend as Tree
import ./owner_product.bend as Product
import ./ordinary_optional_resource.bend as O

Types

type Index source · line 7 · raw

@-S:Data -> @-P:Type -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Resource<S, P> -> Data

Same original descriptor, with a storage index tied to the exact identity.

type Binding source · line 11 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Resource<S, P> -> @-lens:0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Lens<R, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_optional_resource.Slot<S, P, identity>, Rest> -> Data

Templates

template leaf source · line 9 · raw

@-S:Data -> @-P:Type -> @+identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Resource<S, P> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/resource_field_binding.Built<S, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_optional_resource.Slot<S, P, identity>, Index<S, P, identity>>

template bind source · line 13 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Resource<S, P> -> @-lens:0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Lens<R, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_optional_resource.Slot<S, P, identity>, Rest> -> @-cursor:0x2a0aaf4f2cb3f416a9b91fd887916a5d/resource_field_binding.Cursor<S, R, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_optional_resource.Slot<S, P, identity>, Rest, Index<S, P, identity>, lens> -> Binding<S, R, P, Rest, identity, lens>