Packages

t

com.avsystem.commons.serialization

TransparentWrapping

trait TransparentWrapping[R, T] extends AnyRef

A typeclass which serves as evidence that some type T is a "transparent" wrapper of some other type. This usually means that instances of various typeclasses (e.g. GenCodec) for type T could be automatically derived from instances for the wrapped type. How this actually happens is decided in each typeclass which can define appropriate implicit.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransparentWrapping
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def unwrap(t: T): R
  2. abstract def wrap(r: R): T