Object

zio.blocks.schema.binding.Register.Object
case class Object[A <: AnyRef](offset: RegisterOffset) extends Register[A]

A register at offset for a field of a reference type, or of a primitive type other than the eight above, such as String. It takes one object slot.

Attributes

Source
Register.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Register[A]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

final type Boxed = A

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

Value members

Concrete methods

def get(registers: Registers, base: RegisterOffset): Boxed

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: Boxed): 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 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