MetaKeyLens

class MetaKeyLens<FINAL>(getFn: (Meta) -> FINAL, setFn: (FINAL, Meta) -> Meta) : LensInjectorExtractor<Meta, FINAL> (source)

Constructors

Link copied to clipboard
constructor(getFn: (Meta) -> FINAL, setFn: (FINAL, Meta) -> Meta)

Functions

Link copied to clipboard
open fun extract(target: Meta): FINAL
Link copied to clipboard
open operator fun <R : Meta> get(target: R): FINAL
Link copied to clipboard
open fun <R : Meta> inject(value: FINAL, target: R): R
Link copied to clipboard
open operator override fun invoke(target: Meta): FINAL
open operator override fun <R : Meta> invoke(value: FINAL, target: R): R
Link copied to clipboard
open infix fun <R : Meta> of(value: FINAL): (R) -> R
Link copied to clipboard
open fun <NEXT : Meta> restrictFrom(): LensExtractor<NEXT, FINAL>
Link copied to clipboard
open fun <NEXT : Meta> restrictInto(): LensInjector<FINAL, NEXT>
Link copied to clipboard
open operator fun <R : Meta> set(target: R, value: FINAL): R