fuchsia_bluetooth::expectation

Trait IsAny

Source
pub trait IsAny<T> {
    // Required methods
    fn describe<'d>(
        &self,
        doc: &'d BoxAllocator,
    ) -> DocBuilder<'d, BoxAllocator>;
    fn falsify_any<'d>(
        &self,
        t: &T,
        doc: &'d BoxAllocator,
    ) -> Option<DocBuilder<'d, BoxAllocator>>;
}
Expand description

Trait representation of a Predicate on members of an existential iterator type

Required Methods§

Source

fn describe<'d>(&self, doc: &'d BoxAllocator) -> DocBuilder<'d, BoxAllocator>

Source

fn falsify_any<'d>( &self, t: &T, doc: &'d BoxAllocator, ) -> Option<DocBuilder<'d, BoxAllocator>>

Implementors§

Source§

impl<T: 'static, Elem: Debug + 'static> IsAny<T> for Predicate<Elem>
where for<'a> &'a T: IntoIterator<Item = &'a Elem>,