MCPcopy Create free account

hub / github.com/axos88/optics-rs / functions

Functions177 in github.com/axos88/optics-rs

Functionidentity_lens
()
src/optics/lens/mod.rs:86
Functionidentity_partial_getter
()
src/optics/partial_getter/mod.rs:67
Functionidentity_prism
()
src/optics/prism/mod.rs:72
Functionidentity_setter
()
src/optics/setter/mod.rs:79
Functioninfallible
(e: Infallible)
src/lib.rs:13
Functionmain
()
examples/extend_with_increment.rs:13
Functionmain
We can't access the private fields of A or B here, we can only get hold of a lens.
examples/opaque.rs:68
Functionmain
()
examples/simple.rs:17
Functionmain
()
examples/extend_with_some_prism.rs:33
Functionnew
( pg1: PG1, pg2: PG2, error_fn_1: fn(PG1::GetterError) -> E, error_fn_2: fn(PG2::GetterError)
src/optics/partial_getter/composed.rs:74
Functionnew
( p1: P1, s2: SETTER2, )
src/optics/setter/composed.rs:66
Functionnew
( p1: P1, p2: P2, error_fn_1: fn(P1::GetterError) -> E, error_fn_2: fn(P2::GetterError) -> E,
src/optics/prism/composed.rs:113
Functionnew
( l1: G1, l2: G2, )
src/optics/getter/composed.rs:62
Functionnew
( i1: ISO1, i2: ISO2, )
src/optics/iso/composed.rs:92
Functionnew
( f1: FI1, f2: FI2, getter_error_fn_1: fn(FI1::GetterError) -> GE, getter_error_fn_2: fn(FI2::
src/optics/fallible_iso/composed.rs:111
Functionnew
( l1: L1, l2: L2, )
src/optics/lens/composed.rs:76
Methodnew
(get_fn: GET)
src/optics/partial_getter/mapped.rs:41
Methodnew
(prism: PG)
src/optics/partial_getter/wrapper.rs:33
Methodnew
( optic1: PG1, optic2: PG2, error_fn_1: fn(PG1::GetterError) -> E, error_fn_2:
src/optics/partial_getter/composed.rs:18
Methodnew
(set_fn: SET)
src/optics/setter/mapped.rs:17
Methodnew
(l: SETTER)
src/optics/setter/wrapper.rs:28
Methodnew
(optic1: SETTER1, optic2: SETTER2)
src/optics/setter/composed.rs:17
Methodnew
(get_fn: GET, set_fn: SET)
src/optics/prism/mapped.rs:22
Methodnew
(prism: P)
src/optics/prism/wrapper.rs:32
Methodnew
( optic1: P1, optic2: P2, error_fn_1: fn(P1::GetterError) -> E, error_fn_2: fn
src/optics/prism/composed.rs:44
Methodnew
Creates a new `LensImpl` with the provided getter and setter functions. # Arguments - `get_fn` — A function that retrieves the focus value `A` from
src/optics/getter/mapped.rs:90
Methodnew
(prism: G)
src/optics/getter/wrapper.rs:40
Methodnew
(optic1: G1, optic2: G2)
src/optics/getter/composed.rs:17
Methodnew
(get_fn: GET, rev_fn: REV)
src/optics/iso/mapped.rs:22
Methodnew
(i: ISO)
src/optics/iso/wrapper.rs:34
Methodnew
(optic1: ISO1, optic2: ISO2)
src/optics/iso/composed.rs:22
Methodnew
(get_fn: GET, rev_fn: REV)
src/optics/fallible_iso/mapped.rs:21
Methodnew
(l: FI)
src/optics/fallible_iso/wrapper.rs:39
Methodnew
( optic1: FI1, optic2: FI2, getter_error_fn_1: fn(FI1::GetterError) -> GE, get
src/optics/fallible_iso/composed.rs:20
Methodnew
(get_fn: GET, set_fn: SET)
src/optics/lens/mapped.rs:23
Methodnew
(l: L)
src/optics/lens/wrapper.rs:33
Methodnew
(optic1: L1, optic2: L2)
src/optics/lens/composed.rs:18
Functionoptic_implementations_exported_struct_and_fns
()
src/test/code_quality/exported_items_by_optics.rs:8
Methodset
(&self, source: &mut S, value: A)
src/optics/setter/mapped.rs:29
Methodset
(&self, source: &mut S, value: A)
src/optics/setter/wrapper.rs:41
Methodset
(&self, source: &mut S, value: A)
src/optics/setter/composed.rs:31
Methodset
(&self, source: &mut S, value: A)
src/optics/prism/mapped.rs:48
Methodset
(&self, source: &mut S, value: A)
src/optics/prism/wrapper.rs:53
Methodset
(&self, source: &mut S, value: A)
src/optics/prism/composed.rs:78
Methodset
(&self, source: &mut S, value: A)
src/optics/iso/wrapper.rs:55
Methodset
(&self, source: &mut S, value: A)
src/optics/iso/composed.rs:49
Methodset
(&self, source: &mut S, value: A)
src/optics/fallible_iso/mapped.rs:47
Methodset
(&self, source: &mut S, value: A)
src/optics/fallible_iso/wrapper.rs:60
Methodset
(&self, source: &mut S, value: A)
src/optics/fallible_iso/composed.rs:73
Methodset
(&self, source: &mut S, value: A)
src/optics/lens/mapped.rs:49
Methodset
(&self, source: &mut S, value: A)
src/optics/lens/wrapper.rs:54
Methodset
(&self, source: &mut S, value: A)
src/optics/lens/composed.rs:45
Functiontest_all_optics_have_combine_with_functions
()
src/test/code_quality/all_optics_can_be_combined_with_eachother.rs:120
Functiontest_fallible_iso
()
src/test/mod.rs:131
Functiontest_iso_and_fallible_iso
()
src/test/mod.rs:164
Methodtry_get
(&self, source: &S)
src/optics/partial_getter/mapped.rs:55
Methodtry_get
(&self, source: &S)
src/optics/partial_getter/wrapper.rs:48
Methodtry_get
(&self, source: &S)
src/optics/partial_getter/composed.rs:41
Methodtry_get
(&self, source: &S)
src/optics/prism/mapped.rs:38
Methodtry_get
(&self, source: &S)
src/optics/prism/wrapper.rs:47
Methodtry_get
(&self, source: &S)
src/optics/getter/mapped.rs:104
Methodtry_get
(&self, source: &S)
src/optics/getter/wrapper.rs:49
Methodtry_get
(&self, source: &S)
src/optics/getter/composed.rs:33
Methodtry_get
(&self, source: &S)
src/optics/iso/wrapper.rs:49
Methodtry_get
(&self, source: &S)
src/optics/iso/composed.rs:38
Methodtry_get
(&self, source: &S)
src/optics/fallible_iso/mapped.rs:37
Methodtry_get
(&self, source: &S)
src/optics/fallible_iso/wrapper.rs:54
Methodtry_get
(&self, source: &S)
src/optics/lens/mapped.rs:39
Methodtry_get
(&self, source: &S)
src/optics/lens/wrapper.rs:48
Methodtry_get
(&self, source: &S)
src/optics/lens/composed.rs:34
Methodtry_reverse_get
(&self, value: &A)
src/optics/iso/wrapper.rs:63
Methodtry_reverse_get
(&self, value: &A)
src/optics/iso/composed.rs:63
Methodtry_reverse_get
(&self, value: &A)
src/optics/fallible_iso/wrapper.rs:68
Methodtry_reverse_get
(&self, value: &A)
src/optics/fallible_iso/composed.rs:59
Methodvisit_item_fn
(&mut self, i: &'ast ItemFn)
src/test/code_quality/exported_items_by_optics.rs:60
Methodvisit_item_mod
(&mut self, i: &'ast ItemMod)
src/test/code_quality/exported_items_by_optics.rs:15
Methodvisit_item_struct
(&mut self, i: &'ast ItemStruct)
src/test/code_quality/exported_items_by_optics.rs:21
← previous101–177 of 177, ranked by callers