| 1 |
impl<T: Clone> ::zerocopy::util::macro_util::core_reexport::cmp::PartialEq for Foo<T> |
| 2 |
where |
| 3 |
Self: ::zerocopy::IntoBytes + ::zerocopy::Immutable, |
| 4 |
Self: Sized, |
| 5 |
{ |
| 6 |
fn eq(&self, other: &Self) -> bool { |
| 7 |
::zerocopy::util::macro_util::core_reexport::cmp::PartialEq::eq( |
| 8 |
::zerocopy::IntoBytes::as_bytes(self), |
| 9 |
::zerocopy::IntoBytes::as_bytes(other), |
| 10 |
) |
| 11 |
} |
| 12 |
} |
| 13 |
impl<T: Clone> ::zerocopy::util::macro_util::core_reexport::cmp::Eq for Foo<T> |
| 14 |
where |
| 15 |
Self: ::zerocopy::IntoBytes + ::zerocopy::Immutable, |
| 16 |
Self: Sized, |
| 17 |
{} |