Trait dochy_core::IdentityEqual[][src]

pub trait IdentityEqual {
    fn identity_eq(&self, other: &Self) -> bool;
}
Expand description

When items have identity objects, compare identity objects, otherwise compare items directly. This can shortcut comparing and make it faster.

Required methods

Implementations on Foreign Types

Implementors