Trait darling_core::usage::CollectLifetimes [] [src]

pub trait CollectLifetimes {
    fn collect_lifetimes<'a>(
        self,
        options: &Options,
        lifetimes: &'a LifetimeSet
    ) -> LifetimeRefSet<'a>; }

Searcher for finding lifetimes in an iterator.

This trait extends iterators, providing a way to turn a filtered list of fields or variants into a set of lifetimes.

Required Methods

Consume an iterator, accumulating all lifetimes in the elements which occur in lifetimes.

Implementors