Trait r::callable::dyncompare::DynCompare

source ·
pub trait DynCompare: AsDynCompare {
    // Required method
    fn dyn_eq(&self, other: &dyn DynCompare) -> bool;
}

Required Methods§

source

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

Trait Implementations§

source§

impl PartialEq for dyn DynCompare

source§

fn eq(&self, other: &dyn DynCompare) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§