SingletonProxy
scala.deriving.Mirror.SingletonProxy
class SingletonProxy(val value: AnyRef) extends Product
A proxy for Scala 2 singletons, which do not inherit Singleton directly.
Value parameters
- value
-
the Scala 2 singleton instance being proxied
Attributes
- Source
- Mirror.scala
- Graph
-
- Supertypes
Members list
Type members
Types
The names of the product elements.
Attributes
- Source
- Mirror.scala
The mirrored *-type.
Attributes
- Source
- Mirror.scala
Inherited and Abstract types
The name of the type.
Value members
Concrete methods
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.
Value parameters
- p
-
the product whose elements are used to create the new instance
Attributes
- Source
- Mirror.scala
Concrete fields
Attributes
- Source
- Mirror.scala
In this article