Record

zio.blocks.schema.Reflect.Record
See theRecord companion class
object Record

Register layout helpers for record nodes.

Attributes

Companion
class
Source
Reflect.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Record.type

Members list

Type members

Types

type Bound[A] = Record[Binding, A]

A record node of a bound reflect.

A record node of a bound reflect.

Attributes

Source
Reflect.scala

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def registers[F[_, _]](reflects: Array[Reflect[F, _]]): Array[Register[Any]]

Assigns a register to each node in reflects, in order. A node of Unit, Boolean, Byte, Char, Short, Float, Int, Double or Long, or of an opaque type or type alias of one of them, gets a register of that primitive type (a Unit takes no space); every other node gets an object register.

Assigns a register to each node in reflects, in order. A node of Unit, Boolean, Byte, Char, Short, Float, Int, Double or Long, or of an opaque type or type alias of one of them, gets a register of that primitive type (a Unit takes no space); every other node gets an object register.

Attributes

Source
Reflect.scala
def usedRegisters(registers: Array[Register[Any]]): RegisterOffset

Returns the space that registers take together, counted per kind of register.

Returns the space that registers take together, counted per kind of register.

Attributes

Source
Reflect.scala