pub struct TraceKinds {
pub step: bool,
pub rule: bool,
pub lex: bool,
pub parse: bool,
pub node: bool,
pub stack: bool,
}Expand description
Which trace kinds are logged.
Fields§
§step: boolRaw per-step passthrough. Never fires in Rust — the engine has no step event. Kept for option-name parity.
rule: boolEach rule as it opens and closes.
lex: boolEach token the lexer produces.
parse: boolThe alternate a rule matched.
node: boolA rule’s node as the rule completes.
stack: boolThe rule stack at each rule event.
Implementations§
Trait Implementations§
Source§impl Clone for TraceKinds
impl Clone for TraceKinds
impl Copy for TraceKinds
Source§impl Debug for TraceKinds
impl Debug for TraceKinds
Source§impl Default for TraceKinds
impl Default for TraceKinds
impl Eq for TraceKinds
Source§impl PartialEq for TraceKinds
impl PartialEq for TraceKinds
impl StructuralPartialEq for TraceKinds
Auto Trait Implementations§
impl Forget for TraceKinds
impl Freeze for TraceKinds
impl Move for TraceKinds
impl RefUnwindSafe for TraceKinds
impl Send for TraceKinds
impl Sync for TraceKinds
impl Unpin for TraceKinds
impl UnsafeUnpin for TraceKinds
impl UnwindSafe for TraceKinds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.