pub struct EventLink<T, C> {
pub event: Option<Event<T, C>>,
pub next: RefCell<Option<Rc<EventLink<T, C>>>>,
}
Expand description
A linked list of Event<T, C>.
Fields§
§event: Option<Event<T, C>>
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<EventLink<T, C>>>>
The next event, if it exists.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, C> !Freeze for EventLink<T, C>
impl<T, C> !RefUnwindSafe for EventLink<T, C>
impl<T, C> !Send for EventLink<T, C>
impl<T, C> !Sync for EventLink<T, C>
impl<T, C> Unpin for EventLink<T, C>
impl<T, C> !UnwindSafe for EventLink<T, C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more