Matcher

Trait Matcher 

Source
pub trait Matcher {
    // Required method
    fn is_match<S: Storage>(storage: &S) -> bool;
}
Expand description

Allows to match over different Storages. See also All.

Required Methods§

Source

fn is_match<S: Storage>(storage: &S) -> bool

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<'s, A> Matcher for All<'s, (A,)>
where A: Fetch<'s>,

Source§

impl<'s, A, B> Matcher for All<'s, (A, B)>
where A: Fetch<'s>, B: Fetch<'s>,

Source§

impl<'s, A, B, C> Matcher for All<'s, (A, B, C)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>,

Source§

impl<'s, A, B, C, D> Matcher for All<'s, (A, B, C, D)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>, D: Fetch<'s>,

Source§

impl<'s, A, B, C, D, E> Matcher for All<'s, (A, B, C, D, E)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>, D: Fetch<'s>, E: Fetch<'s>,

Source§

impl<'s, A, B, C, D, E, F> Matcher for All<'s, (A, B, C, D, E, F)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>, D: Fetch<'s>, E: Fetch<'s>, F: Fetch<'s>,

Source§

impl<'s, A, B, C, D, E, F, G> Matcher for All<'s, (A, B, C, D, E, F, G)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>, D: Fetch<'s>, E: Fetch<'s>, F: Fetch<'s>, G: Fetch<'s>,

Source§

impl<'s, A, B, C, D, E, F, G, H> Matcher for All<'s, (A, B, C, D, E, F, G, H)>
where A: Fetch<'s>, B: Fetch<'s>, C: Fetch<'s>, D: Fetch<'s>, E: Fetch<'s>, F: Fetch<'s>, G: Fetch<'s>, H: Fetch<'s>,