Trait speculoos::iter::MappingIterAssertions
source · pub trait MappingIterAssertions<'s, T: 's>where
T: Debug,{
fn matching_contains<F>(&mut self, matcher: F)
where
F: Fn(&'s T) -> bool;
fn mapped_contains<F, M: 's>(
&mut self,
mapping_function: F,
expected_value: &M
)
where
M: Debug + PartialEq,
F: Fn(&'s T) -> M;
}