Trait PartialEq

Source
pub unsafe trait PartialEq<Rhs = Self>: PartialEq<Rhs>
where Rhs: ?Sized,
{ }
Expand description

This trait is empty declaration of ::core::cmp::PartialEq to be used with newer_type::implement.

§Example

#[implement(newer_type_std::cmp::PartialEq)]
struct MyStruct {
    slot: u8
}

§Safety

should be implemented by newer_type::implement

Implementors§