Trait dominator::traits::MultiStr[][src]

pub trait MultiStr {
    fn find_map<A, F>(&self, f: F) -> Option<A>
    where
        F: FnMut(&str) -> Option<A>
; fn each<F>(&self, f: F)
    where
        F: FnMut(&str)
, { ... } }

Required methods

fn find_map<A, F>(&self, f: F) -> Option<A> where
    F: FnMut(&str) -> Option<A>, 
[src]

Provided methods

fn each<F>(&self, f: F) where
    F: FnMut(&str), 
[src]

Implementations on Foreign Types

impl<A> MultiStr for [A; 1] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 2] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 3] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 4] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 5] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 6] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 7] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 8] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 9] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 10] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 11] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 12] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 13] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 14] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 15] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 16] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 17] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 18] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 19] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 20] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 21] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 22] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 23] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 24] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 25] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 26] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 27] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 28] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 29] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 30] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 31] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for [A; 32] where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

Implementors

impl<'a, A, C> MultiStr for RefFn<A, [&'a str], C> where
    C: Fn(&A) -> &[&'a str]
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]

impl<A> MultiStr for A where
    A: AsStr
[src]

fn find_map<B, F>(&self, f: F) -> Option<B> where
    F: FnMut(&str) -> Option<B>, 
[src]