Trait TemplateLineNames

Source
pub trait TemplateLineNames<'a, S: CheapCloneStr>:
    Iterator<Item = Self::LineNameSet<'a>>
    + ExactSizeIterator
    + Clone
where Self: 'a,
{ type LineNameSet<'b>: Iterator<Item = &'b S> + ExactSizeIterator + Clone where Self: 'b; }
Expand description

A nested list of line names. This is effectively a generic representation of Vec<Vec<String>> that allows both the collection and string type to be customised.

Required Associated Types§

Source

type LineNameSet<'b>: Iterator<Item = &'b S> + ExactSizeIterator + Clone where Self: 'b

A simple list line names. This is effectively a generic representation of VecString> that allows both the collection and string type to be customised.

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.

Implementations on Foreign Types§

Source§

impl<'a, S: CheapCloneStr> TemplateLineNames<'a, S> for Map<Iter<'a, Vec<S>>, fn(&Vec<S>) -> Iter<'_, S>>

Source§

type LineNameSet<'b> = Iter<'b, S> where Self: 'b

Implementors§