InlineConversion

abstract class InlineConversion[T, U] extends Conversion[T, U]
class Conversion[T, U]
trait T => U
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(v: T): U

Convert value x of type T to type U

Convert value x of type T to type U

Inherited methods

def andThen[A](g: U => A): T1 => A
Inherited from:
Function1
def compose[A](g: A => T): A => R
Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

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