Wrappable

interface Wrappable<out T : Wrappable<T>>

Implement Wrappable to have the runtime be capable of using your data type as an input or output type of a function that can be wrapped.

Functions

wrap
Link copied to clipboard
abstract fun wrap(wrapper: Wrapper): T

The wrap function should return the same static type it is declared on.

Inheritors

Differentiable
Link copied to clipboard
DiffktRandom
Link copied to clipboard
RandomKey
Link copied to clipboard