OperatorEq

Trait OperatorEq 

Source
pub trait OperatorEq {
    // Required method
    fn operator_eq(&self, other: &Self) -> bool;
}
Expand description

An equality trait for operators that loosens the semantics to permit pointer-based equality for data objects such as buffers.

Required Methods§

Source

fn operator_eq(&self, other: &Self) -> bool

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.

Implementations on Foreign Types§

Source§

impl OperatorEq for Mask

Source§

fn operator_eq(&self, other: &Self) -> bool

Source§

impl<T> OperatorEq for Buffer<T>

Source§

fn operator_eq(&self, other: &Self) -> bool

Implementors§