Skip to main content

DynPartialEq

Trait DynPartialEq 

Source
pub trait DynPartialEq: AsAny {
    // Required method
    fn dyn_eq(&self, other: &dyn Any) -> bool;
}
Expand description

Extension trait that facilitates object-safe implementations of PartialEq.

Required Methods§

Source

fn dyn_eq(&self, other: &dyn Any) -> bool

Implementors§