Trait microformats_types::FindItemByProperty

source ·
pub trait FindItemByProperty {
    // Required method
    fn find_items_with_matching_property_value_by<F>(
        &self,
        predicate: F,
    ) -> Vec<(&String, &Item)>
       where F: Fn(&str, &PropertyValue) -> bool;

    // Provided method
    fn find_items_with_matching_property_value(
        &self,
        needle: &PropertyValue,
    ) -> Vec<(&String, &Item)> { ... }
}

Required Methods§

source

fn find_items_with_matching_property_value_by<F>( &self, predicate: F, ) -> Vec<(&String, &Item)>
where F: Fn(&str, &PropertyValue) -> bool,

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§