pub struct EventList { /* private fields */ }Expand description
Ordered list of events within a process block.
Implementations§
Source§impl EventList
impl EventList
pub fn new() -> Self
pub fn push(&mut self, event: Event)
pub fn clear(&mut self)
pub fn sort(&mut self)
pub fn iter(&self) -> impl Iterator<Item = &Event>
pub fn get(&self, index: usize) -> Option<&Event>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventList
impl RefUnwindSafe for EventList
impl Send for EventList
impl Sync for EventList
impl Unpin for EventList
impl UnsafeUnpin for EventList
impl UnwindSafe for EventList
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