# Compare structs for partial equality - PartialEq

* struct
* PartialEq

* [PartialEq](https://doc.rust-lang.org/std/cmp/trait.PartialEq.html)
* the trait `Eq` is not implemented for `f32`

{% embed include file="src/examples/struct/compare-structs-for-partial-equality/src/main.rs" %}
{% embed include file="src/examples/struct/compare-structs-for-partial-equality/out.out" %}


