EmbarkStudios / mirror-mirror

🪞 Powerful reflection library for Rust
Apache License 2.0
79 stars 2 forks source link

Add `reflect_eq` #126

Closed davidpdrsn closed 1 year ago

davidpdrsn commented 1 year ago

Checklist

Description of Changes

A few times I've needed to compare &dyn Reflect values for equality. Previously I did that by converting both to Values but that might be expensive so. This reflect_eq which walks each value without allocating.