ConversionOrSubtype

@FunctionalInterface
trait ConversionOrSubtype[T, +U] extends Conversion[T, U]
Companion:
object
class Conversion[T, U]
trait T => U
class Object
trait Matchable
class Any

Value members

Inherited methods

def andThen[A](g: U => A): T => A
Inherited from:
Function1
def apply(x: T): U

Convert value x of type T to type U

Convert value x of type T to type U

Inherited from:
Conversion
def compose[A](g: A => T): A => U
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1

Extensions

Inherited extensions

extension (x: T)
def convert: U

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Inherited from:
Conversion