Conversion

scala.Conversion
See theConversion companion class
object Conversion

Attributes

Companion
class
Source
Conversion.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Conversion.type

Members list

Type members

Types

opaque type into[+T]

An opaque type alias to declare "into" parameter types that allow implicit conversions on corresponding arguments. If the expected type of an expression t is into[T], implicit conversions are tried from the type of t to T. into[T] types are erased to T in all covariant positions of the types of parameter symbols.

An opaque type alias to declare "into" parameter types that allow implicit conversions on corresponding arguments. If the expected type of an expression t is into[T], implicit conversions are tried from the type of t to T. into[T] types are erased to T in all covariant positions of the types of parameter symbols.

Attributes

Source
Conversion.scala

Extensions

Experimental extensions

extension [T](x: into[T])
def underlying: T

Unwrap an into

Unwrap an into

Attributes

Experimental
true
Source
Conversion.scala