Skip to main content

Setoid

Trait Setoid 

Source
pub trait Setoid {
    // Required method
    fn equals(&self, other: &Self) -> bool;
}

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Setoid for &str

Source§

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

Source§

impl Setoid for Vec<i32>

Source§

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

Implementors§