pub struct EventVec<'context, Context: Context> { /* private fields */ }
Expand description
A vector of Event
s, plus context for interpreting them.
Constructs an EventVec
with memory for capacity
Event
s.
Returns the current Event
capacity of this EventVec
.
Reserves enough memory for at least additional
more Event
s.
Reserves enough memory for exactly additional
more Event
s.
Clears all the Events
out of this EventVec
.
Shrinks the capacity of this EventVec
as much as possible.
Returns an iterator over the Event
s in this EventVec
.
Returns the number of Event
s logically contained in this EventVec
.
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
impl<'context, Context> !Send for EventVec<'context, Context>
impl<'context, Context> !Sync for EventVec<'context, Context>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.