TypeMapper

scalapb.TypeMapper
See theTypeMapper companion object
abstract class TypeMapper[BaseType, CustomType]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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]