pub struct TraceList {
pub traces: HashMap<&'static str, Trace>,
}
Fields§
§traces: HashMap<&'static str, Trace>
Implementations§
Source§impl TraceList
impl TraceList
pub fn new() -> Self
pub fn reset(&mut self, tag: &'static str)
pub fn print(&self, tag: &'static str)
pub fn activate(&mut self, tag: &'static str)
pub fn deactivate(&mut self, tag: &'static str)
pub fn open<T>(&mut self, tag: &'static str, input: T, location: &'static str)
pub fn close<I, O: Debug, E: Debug>( &mut self, tag: &'static str, input: I, location: &'static str, result: &IResult<I, O, E>, )
Auto Trait Implementations§
impl Freeze for TraceList
impl RefUnwindSafe for TraceList
impl !Send for TraceList
impl !Sync for TraceList
impl Unpin for TraceList
impl UnwindSafe for TraceList
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