Skip to main content

RudaKeyEqual

Trait RudaKeyEqual 

Source
pub trait RudaKeyEqual<T: RudaType>: RudaType + RudaType<ExpandType: RudaKeyEqualExpand<T>> {
    // Required method
    fn equal(&self, left: T, right: T) -> bool;

    // Provided method
    fn __expand_equal(
        scope: &mut Scope,
        this: <Self as RudaType>::ExpandType,
        left: <T as RudaType>::ExpandType,
        right: <T as RudaType>::ExpandType,
    ) -> <bool as RudaType>::ExpandType { ... }
}
Expand description

An equivalence relation for adjacent-key operations.

Required Methods§

Source

fn equal(&self, left: T, right: T) -> bool

Provided Methods§

Source

fn __expand_equal( scope: &mut Scope, this: <Self as RudaType>::ExpandType, left: <T as RudaType>::ExpandType, right: <T as RudaType>::ExpandType, ) -> <bool as RudaType>::ExpandType

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§