pub type EventLink<T, D> = EventLinkCore<T, Vec<D>>;
Expand description
A EventLinkCore specialized to vector-based containers.
Aliased Type§
struct EventLink<T, D> {
pub event: Option<EventCore<T, Vec<D>>>,
pub next: RefCell<Option<Rc<EventLinkCore<T, Vec<D>>>>>,
}
Fields§
§event: Option<EventCore<T, Vec<D>>>
An event, if one exists.
An event might not exist, if either we want to insert a None
and have the output iterator pause,
or in the case of the very first linked list element, which has no event when constructed.
next: RefCell<Option<Rc<EventLinkCore<T, Vec<D>>>>>
The next event, if it exists.