1 2 3 4 5
use crate::framework::i_entity::IEntity; pub trait IQuery<K, V: IEntity<K>> { fn matches(&self, key: &K, value: &V) -> bool; }