implicit final class TransformerOps[From] extends AnyVal
Provides transformer operations on values of any type.
- From
type of source value
- Since
0.4.0
- Alphabetic
- By Inheritance
- TransformerOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TransformerOps(source: From)
- source
wrapped source value
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- final def transformInto[To](implicit transformer: Transformer[From, To]): To
Performs in-place transformation of captured source value to target type.
Performs in-place transformation of captured source value to target type.
If you want to customize transformer behavior, consider using io.scalaland.chimney.dsl.TransformerOps#into method.
- To
target type
- transformer
implicit instance of io.scalaland.chimney.Transformer type class
- returns
transformed value of target type
To
- Since
0.1.0
- See also
io.scalaland.chimney.auto#deriveAutomaticTransformer for default implicit instance