Trait Compare

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

JSON-LD comparison.

Required Methods§

Source

fn compare(&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.

Implementors§