implicit final class PatcherOps[A] extends AnyVal
Provides patcher operations on values of any type
- A
type of object to patch
- Since
0.1.3
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PatcherOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
PatcherOps(obj: A)
- obj
wrapped object to patch
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
-
final
def
patchUsing[Patch](patch: Patch)(implicit patcher: AutoDerived[A, Patch]): A
Performs in-place patching of wrapped object with provided value.
Performs in-place patching of wrapped object with provided value.
If you want to customize patching behavior, consider using using method.
- Patch
type of patch object
- patch
patch object value
- patcher
implicit instance of io.scalaland.chimney.Patcher type class
- returns
patched value
- Since
0.4.0
- See also
io.scalaland.chimney.Patcher.AutoDerived#deriveAutomatic for default implicit instance
-
def
toString(): String
- Definition Classes
- Any