TypeMapper

@implicitNotFound("No TypeMapper found for conversion between ${BaseType} and ${CustomType}.\n Try to implement an implicit TypeMapper[${BaseType}, ${CustomType}]. You can implement it\n in ${CustomType} companion class.\n Alternatively you can import this implicit using file-level Scala imports (see documentation)\n ") abstract class TypeMapper[BaseType, CustomType]
Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def toBase(custom: CustomType): BaseType
def toCustom(base: BaseType): CustomType

Concrete methods

def map2[Other](f: CustomType => Other)(g: Other => CustomType): TypeMapper[BaseType, Other]