-
Focuses on a specific index of this setter.
Declaration
Swift
func at(_ i: A.AtIndex) -> Setter<S, A.AtFoci>
Parameters
i
Index to focus.
Return Value
A setter from this structure to the focused index.
-
Provides a setter over all elements of the focus of this setter.
Declaration
Swift
var every: Setter<S, A.EachFoci> { get }
-
Provides a setter focused on an index of the focus of this setter.
Declaration
Swift
func index(_ i: A.IndexType) -> Setter<S, A.IndexFoci>
Parameters
i
Index to focus.
Return Value
A setter focused on an index of the focus of this setter.
-
Provides a setter focused on an index of the focus of this setter.
Declaration
Swift
subscript(i: A.IndexType) -> Setter<S, A.IndexFoci> { get }
Parameters
i
Index to focus.
Return Value
A setter focused on an index of the focus of this setter.
-
Provides an identity
Setter
.Declaration
Swift
static var identity: Setter<S, S> { get }
-
Provides a
Setter
that takes eitherS
orS
and strips the choice ofS
.Declaration
Swift
static var codiagonal: Setter<Either<S, S>, S> { get }