FromBinding

zio.blocks.schema.binding.FromBinding
trait FromBinding[F[_, _]]

Wraps a Binding as the metadata F[T, A] of a Reflect node. The Reflect constructors for standard types, such as Reflect.int and Reflect.option, take one to store the bindings they create. The library's instance is Binding.bindingFromBinding, for F = Binding.

Type parameters

F

the metadata type of the nodes

Attributes

Source
FromBinding.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def fromBinding[T, A](binding: Binding[T, A]): F[T, A]

Returns binding as metadata of type F.

Returns binding as metadata of type F.

Attributes

Source
FromBinding.scala