shapeless
Lens
Related Doc:
package shapeless
trait
Lens
[
S
,
A
]
extends
LPLens
[
S
,
A
]
Self Type
Lens
[
S
,
A
]
Linear Supertypes
LPLens
[
S
,
A
],
Serializable
,
Serializable
,
Dynamic
,
AnyRef
,
Any
Known Subclasses
ProductLensBuilder
,
RootLens
Ordering
Alphabetic
By inheritance
Inherited
Lens
LPLens
Serializable
Serializable
Dynamic
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Abstract Value Members
abstract
def
get
(
s:
S
)
:
A
abstract
def
set
(
s:
S
)
(
a:
A
)
:
S
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
>>
(
k:
Witness
)
(
implicit
mkLens:
MkFieldLens
[
A
,
T
]
)
:
Lens
[
S
,
Elem
]
def
>>
(
n:
Nat
)
(
implicit
mkLens:
MkNthFieldLens
[
A
,
N
]
)
:
Lens
[
S
,
Elem
]
def
apply
[
B
]
(
implicit
mkPrism:
MkCtorPrism
[
A
,
B
]
)
:
Prism
[
S
,
B
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compose
[
T
]
(
g:
Prism
[
T
,
S
]
)
:
Prism
[
T
,
A
]
def
compose
[
T
]
(
g:
Lens
[
T
,
S
]
)
:
Lens
[
T
,
A
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
modify
(
s:
S
)
(
f: (
A
) ⇒
A
)
:
S
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
selectDynamic
(
k:
String
)
(
implicit
mkLens:
MkSelectDynamicOptic
[
Lens
[
S
,
A
],
A
,
@@
[
Symbol
,
k
.type],
Nothing
]
)
:
Out
def
selectDynamic
[
B
]
(
k:
String
)
(
implicit
mkLens:
MkSelectDynamicOptic
[
Lens
[
S
,
A
],
A
,
@@
[
Symbol
,
k
.type],
B
]
,
dummy:
DummyImplicit
)
:
Out
Definition Classes
LPLens
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unapply
(
s:
S
)
:
Option
[
A
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
~
[
B
]
(
other:
Prism
[
S
,
B
]
)
:
ProductPrismBuilder
[
S
, (
A
,
B
)]
def
~
[
B
]
(
other:
Lens
[
S
,
B
]
)
:
ProductLensBuilder
[
S
, (
A
,
B
)]
Inherited from
LPLens
[
S
,
A
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Dynamic
Inherited from
AnyRef
Inherited from
Any
Ungrouped