OpaqueType

zio.blocks.typeid.TypeDefKind.OpaqueType
final case class OpaqueType(publicBounds: TypeBounds = ...) extends TypeDefKind

An opaque type: opaque type Foo = Bar.

Value parameters

publicBounds

Bounds visible outside the defining scope

Attributes

Source
TypeDefKind.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeDefKind
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def baseTypes: List[TypeRepr]

The base types (parent classes/traits) of this type definition.

The base types (parent classes/traits) of this type definition.

Attributes

Inherited from:
TypeDefKind
Source
TypeDefKind.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