pub trait Content {
    // Required method
    fn get_content(&self, index: usize) -> Option<String>;

    // Provided method
    fn get_contents<I>(&self, indices: I) -> Vec<String>
       where I: IntoIterator<Item = usize> { ... }
}

Required Methods§

source

fn get_content(&self, index: usize) -> Option<String>

Provided Methods§

source

fn get_contents<I>(&self, indices: I) -> Vec<String>where I: IntoIterator<Item = usize>,

Implementors§