Unit

zio.blocks.schema.binding.Register.Unit
case object Unit extends Register[Unit]

The register of a Unit field: it takes no space, get returns () and set does nothing.

Attributes

Source
Register.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Register[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Unit.type

Members list

Type members

Inherited types

final type Boxed = Unit

The type of the field's value, which get returns and set takes.

The type of the field's value, which get returns and set takes.

Attributes

Inherited from:
Register
Source
Register.scala
type MirroredElemLabels = EmptyTuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = this.type

The mirrored *-type.

The mirrored *-type.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

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 get(registers: Registers, base: RegisterOffset): Unit

Reads the field from registers at this register's offset plus base.

Reads the field from registers at this register's offset plus base.

Attributes

Source
Register.scala
def set(registers: Registers, base: RegisterOffset, boxed: Unit): Unit

Writes boxed into registers at this register's offset plus base.

Writes boxed into registers at this register's offset plus base.

Attributes

Source
Register.scala

The space the field takes, as a RegisterOffset: the size of its type in the byte area, one object slot, or nothing for Unit.

The space the field takes, as a RegisterOffset: the size of its type in the byte area, one object slot, or nothing for Unit.

Attributes

Source
Register.scala

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Creates a new instance of type T with elements taken from product p.

Creates a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala