IterableConditionAssertions

Trait IterableConditionAssertions 

Source
pub trait IterableConditionAssertions<T, I>
where for<'any> &'any I: IntoIterator<Item = &'any T>,
{ // Required methods fn are<C: Condition<T>>(self, condition: C) -> Self; fn have<C: Condition<T>>(self, condition: C) -> Self; }

Required Methods§

Source

fn are<C: Condition<T>>(self, condition: C) -> Self

Source

fn have<C: Condition<T>>(self, condition: C) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<I, T, M: Mode> IterableConditionAssertions<T, I> for AssertThat<'_, I, M>
where for<'any> &'any I: IntoIterator<Item = &'any T>,