ValueClasses

object ValueClasses

Methods that apply to user-defined value classes

class Object
trait Matchable
class Any

Value members

Concrete methods

def evt2u(cls: ClassSymbol)(using Context): Symbol

For a value class d, this returns the synthetic cast from ErasedValueType to the underlying type defined in the companion module. This method is added to the module and further described in ExtensionMethods.

For a value class d, this returns the synthetic cast from ErasedValueType to the underlying type defined in the companion module. This method is added to the module and further described in ExtensionMethods.

def u2evt(cls: ClassSymbol)(using Context): Symbol

For a value class d, this returns the synthetic cast from the underlying type to ErasedValueType defined in the companion module. This method is added to the module and further described in ExtensionMethods.

For a value class d, this returns the synthetic cast from the underlying type to ErasedValueType defined in the companion module. This method is added to the module and further described in ExtensionMethods.

The unboxed type that underlies a derived value class

The unboxed type that underlies a derived value class

The member of a derived value class that unboxes it.

The member of a derived value class that unboxes it.