Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benhall-7/diff-struct
/ functions
Functions
43 in github.com/benhall-7/diff-struct
⨍
Functions
43
◇
Types & classes
31
↓ 19 callers
Function
identity_test
(s: D)
src/tests.rs:11
↓ 11 callers
Method
diff
(&self, other: &Self)
src/impls.rs:17
↓ 10 callers
Method
clone
(&self)
src/impls.rs:443
↓ 7 callers
Method
apply
(&mut self, diff: &Self::Repr)
src/impls.rs:25
↓ 3 callers
Function
generate_map
(parts: Vec<(K, V)>)
src/tests.rs:15
↓ 2 callers
Method
apply_custom
Applies the diff directly to the struct, using an external diffing implementation
src/lib.rs:28
↓ 2 callers
Method
apply_new
Applies the diff to the struct and produces a new struct
src/lib.rs:33
↓ 2 callers
Function
generate_set
(parts: Vec<T>)
src/tests.rs:19
↓ 1 callers
Method
diff_custom
Produces a diff between two structs, using an external diffing implementation
src/lib.rs:20
↓ 1 callers
Function
find_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
Method
apply_new_custom
Applies the diff to the struct and produces a new struct, using an external diffing implementation
src/lib.rs:41
Method
eq
(&self, other: &Self)
src/impls.rs:429
Method
fmt
(&self, f: &mut Formatter<'_>)
src/impls.rs:416
Method
identity
()
src/impls.rs:31
Function
numeric_diffs
()
src/tests.rs:24
Function
test_apply
()
src/tests.rs:155
Function
test_arrays
()
src/tests.rs:196
Function
test_basic
()
tests/arbitrary.rs:100
Function
test_box
()
src/tests.rs:274
Function
test_box_recursive
()
src/tests.rs:311
Function
test_char_string
()
src/tests.rs:37
Function
test_cow
()
src/tests.rs:50
Function
test_derive
()
src/tests.rs:117
Function
test_enum
()
tests/arbitrary.rs:120
Function
test_enum_generics
()
tests/arbitrary.rs:115
Function
test_full_struct
()
src/tests.rs:238
Function
test_maps
()
src/tests.rs:68
Function
test_named_generics
()
tests/arbitrary.rs:105
Function
test_named_generics_bounds_external
()
tests/arbitrary.rs:136
Function
test_named_generics_bounds_internal
()
tests/arbitrary.rs:125
Function
test_named_generics_bounds_mixed
()
tests/arbitrary.rs:147
Function
test_opt
()
src/tests.rs:60
Function
test_path
()
src/tests.rs:98
Function
test_phantom_data
()
src/tests.rs:255
Function
test_rc
()
src/tests.rs:344
Function
test_sets
()
src/tests.rs:80
Function
test_tuple_derive
()
src/tests.rs:139
Function
test_unnamed_generics
()
tests/arbitrary.rs:110
Function
test_unnamed_generics_bounds_external
()
tests/arbitrary.rs:166
Function
test_unnamed_generics_bounds_internal
()
tests/arbitrary.rs:155
Function
test_unnamed_generics_bounds_mixed
()
tests/arbitrary.rs:177
Function
test_vecs
()
src/tests.rs:177
Function
tester
(mut a: T, b: T)
tests/arbitrary.rs:90