Trait rune::alloc::hashbrown::EqFn

source ·
pub trait EqFn<C, T, E>
where C: ?Sized, T: ?Sized,
{ // Required method fn eq(&self, cx: &mut C, key: &T) -> Result<bool, E>; }
Expand description

Trait used to implement custom equality implementations which are not solely based on traits.

Required Methods§

source

fn eq(&self, cx: &mut C, key: &T) -> Result<bool, E>

Implementors§

source§

impl<T, C, K, V, E> EqFn<C, (K, V), E> for TupleFn<T, V>
where T: EqFn<C, K, E>, C: ?Sized,

source§

impl<U, C, T, E> EqFn<C, T, E> for U
where U: Fn(&mut C, &T) -> Result<bool, E>, C: ?Sized, T: ?Sized,