pub trait QueryableExt<T> {
    // Required method
    fn lazy_query(&self) -> LazyQuery<'_, T, Box<dyn Iterator<Item = &T> + '_>>;
}Expand description
Extension trait for Queryable types that provides query building capabilities.
This trait extends any type implementing Queryable<T> with methods to create
LazyQuery instances directly from the container’s iterator.
§Example
ⓘ
use rust_queries_builder::QueryableExt;
 
let map: HashMap<String, Product> = ...;
let results: Vec<_> = map.lazy_query()
    .where_(Product::price(), |&p| p > 100.0)
    .collect();