MCPcopy Create free account

hub / github.com/benhall-7/diff-struct / functions

Functions43 in github.com/benhall-7/diff-struct

↓ 19 callersFunctionidentity_test
(s: D)
src/tests.rs:11
↓ 11 callersMethoddiff
(&self, other: &Self)
src/impls.rs:17
↓ 10 callersMethodclone
(&self)
src/impls.rs:443
↓ 7 callersMethodapply
(&mut self, diff: &Self::Repr)
src/impls.rs:25
↓ 3 callersFunctiongenerate_map
(parts: Vec<(K, V)>)
src/tests.rs:15
↓ 2 callersMethodapply_custom
Applies the diff directly to the struct, using an external diffing implementation
src/lib.rs:28
↓ 2 callersMethodapply_new
Applies the diff to the struct and produces a new struct
src/lib.rs:33
↓ 2 callersFunctiongenerate_set
(parts: Vec<T>)
src/tests.rs:19
↓ 1 callersMethoddiff_custom
Produces a diff between two structs, using an external diffing implementation
src/lib.rs:20
↓ 1 callersFunctionfind_match
Finds the closest-to-starting element present in both slices. Returns whether an equal element was found in each slice, the index of the element in a,
src/utils.rs:6
Methodapply_new_custom
Applies the diff to the struct and produces a new struct, using an external diffing implementation
src/lib.rs:41
Methodeq
(&self, other: &Self)
src/impls.rs:429
Methodfmt
(&self, f: &mut Formatter<'_>)
src/impls.rs:416
Methodidentity
()
src/impls.rs:31
Functionnumeric_diffs
()
src/tests.rs:24
Functiontest_apply
()
src/tests.rs:155
Functiontest_arrays
()
src/tests.rs:196
Functiontest_basic
()
tests/arbitrary.rs:100
Functiontest_box
()
src/tests.rs:274
Functiontest_box_recursive
()
src/tests.rs:311
Functiontest_char_string
()
src/tests.rs:37
Functiontest_cow
()
src/tests.rs:50
Functiontest_derive
()
src/tests.rs:117
Functiontest_enum
()
tests/arbitrary.rs:120
Functiontest_enum_generics
()
tests/arbitrary.rs:115
Functiontest_full_struct
()
src/tests.rs:238
Functiontest_maps
()
src/tests.rs:68
Functiontest_named_generics
()
tests/arbitrary.rs:105
Functiontest_named_generics_bounds_external
()
tests/arbitrary.rs:136
Functiontest_named_generics_bounds_internal
()
tests/arbitrary.rs:125
Functiontest_named_generics_bounds_mixed
()
tests/arbitrary.rs:147
Functiontest_opt
()
src/tests.rs:60
Functiontest_path
()
src/tests.rs:98
Functiontest_phantom_data
()
src/tests.rs:255
Functiontest_rc
()
src/tests.rs:344
Functiontest_sets
()
src/tests.rs:80
Functiontest_tuple_derive
()
src/tests.rs:139
Functiontest_unnamed_generics
()
tests/arbitrary.rs:110
Functiontest_unnamed_generics_bounds_external
()
tests/arbitrary.rs:166
Functiontest_unnamed_generics_bounds_internal
()
tests/arbitrary.rs:155
Functiontest_unnamed_generics_bounds_mixed
()
tests/arbitrary.rs:177
Functiontest_vecs
()
src/tests.rs:177
Functiontester
(mut a: T, b: T)
tests/arbitrary.rs:90