Expand description
Combinator modifiers
Structs§
- AndThen
- Combinator that monadically chains two combinators.
- Cond
- Combinator that checks if
condis true and then delegates to theinnercombinator. - Mapped
- Combinator that maps the result of an
innercombinator with an isomorphism that implementsIso. - Refined
- Combinator that refines the result of an
innercombinator with a predicate that implementsPred. - TryMap
- Combinator that maps the result of an
innercombinator with a fallible conversion that implements [TryFromInto].
Traits§
- Iso
- All isomorphisms to be used in
Mappedcombinator must implement this trait. - IsoFn
- The bijective functions of
IsoSelf::applyandSelf::rev_applymust be inverses of each other. See [SpecIsoFn::spec_iso] and [SpecIsoFn::spec_iso_rev] for more details. - Partial
Iso - Fallible version of
Iso. - Partial
IsoFn - The fallible functions of
PartialIso - Pred
- All predicates to be used in
Refinedcombinator must implement this trait. - SpecIso
- Spec version of
Iso. - Spec
IsoFn - The bijective functions of
SpecIso - Spec
IsoProof - The proof of
SpecIsoFn - Spec
Partial Iso - Spec version of
PartialIso. - Spec
Partial IsoFn - The fallible functions of
SpecPartialIso - Spec
Partial IsoProof - The proof of
SpecPartialIsoFn - Spec
Pred - The spec version of
Pred.