Trait event_iterator::IntoEventIterator
source · pub trait IntoEventIterator {
type Event<'me>
where Self: 'me;
type IntoEventIter: for<'me> EventIterator<Event<'me> = Self::Event<'me>> + 'static;
// Required method
fn into_event_iter(self) -> Self::IntoEventIter;
}
Expand description
Trait for converting something into a 'static
event iterator
This is automatically implemented for all 'static
types that implement
EventIterator
.
Required Associated Types§
sourcetype IntoEventIter: for<'me> EventIterator<Event<'me> = Self::Event<'me>> + 'static
type IntoEventIter: for<'me> EventIterator<Event<'me> = Self::Event<'me>> + 'static
The type of the resulting event iterator
Required Methods§
sourcefn into_event_iter(self) -> Self::IntoEventIter
fn into_event_iter(self) -> Self::IntoEventIter
Convert self
into an event iterator.
Object Safety§
This trait is not object safe.