Trait EncodingFn

Source
pub trait EncodingFn<'a> {
    type Iter: Iterator<Item = &'a str>;

    // Required method
    fn call(&self, arg: &'a str) -> Self::Iter;
}

Required Associated Types§

Source

type Iter: Iterator<Item = &'a str>

Required Methods§

Source

fn call(&self, arg: &'a str) -> Self::Iter

Implementors§

Source§

impl<'a, I, F> EncodingFn<'a> for F
where F: Fn(&'a str) -> I, I: Iterator<Item = &'a str>,

Source§

type Iter = I