Enum pest_debugger::DebuggerEvent
source · pub enum DebuggerEvent {
Breakpoint(String, usize),
Eof,
Error(String),
}
Expand description
Events that are sent from the debugger.
Variants§
Breakpoint(String, usize)
A breakpoint encountered. The first element is the rule name. The second element is the position.
Eof
The end of the input has been reached.
Error(String)
A parsing error encountered.
Trait Implementations§
source§impl Debug for DebuggerEvent
impl Debug for DebuggerEvent
source§impl PartialEq for DebuggerEvent
impl PartialEq for DebuggerEvent
source§fn eq(&self, other: &DebuggerEvent) -> bool
fn eq(&self, other: &DebuggerEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DebuggerEvent
impl StructuralPartialEq for DebuggerEvent
Auto Trait Implementations§
impl Freeze for DebuggerEvent
impl RefUnwindSafe for DebuggerEvent
impl Send for DebuggerEvent
impl Sync for DebuggerEvent
impl Unpin for DebuggerEvent
impl UnwindSafe for DebuggerEvent
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