PartialEqKind

Trait PartialEqKind 

Source
pub trait PartialEqKind<T, U> {
    // Required method
    fn eq<S: ShareKind>(a: &S::Inner<T>, b: &S::Inner<U>) -> bool;
}
Expand description

A way of comparing two shared value for partial equality

Required Methods§

Source

fn eq<S: ShareKind>(a: &S::Inner<T>, b: &S::Inner<U>) -> bool

Compare two shared values for equality

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> PartialEqKind<T, T> for ByRef

Source§

impl<T: PartialEq<U>, U> PartialEqKind<T, U> for ByVal