#[non_exhaustive]pub struct LexerDfaStats {
pub states: usize,
pub cached_states: usize,
pub transitions: usize,
pub max_configs_per_state: usize,
pub contexts: usize,
pub action_trace_sequences: usize,
pub action_traces: usize,
pub action_trace_bytes: usize,
}Expand description
Storage measurements for one learned lexer DFA cache.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.states: usize§cached_states: usize§transitions: usize§max_configs_per_state: usize§contexts: usize§action_trace_sequences: usize§action_traces: usize§action_trace_bytes: usizeRetained element storage for action payloads in learned cache entries.
Trait Implementations§
Source§impl Clone for LexerDfaStats
impl Clone for LexerDfaStats
Source§fn clone(&self) -> LexerDfaStats
fn clone(&self) -> LexerDfaStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LexerDfaStats
Source§impl Debug for LexerDfaStats
impl Debug for LexerDfaStats
Source§impl Default for LexerDfaStats
impl Default for LexerDfaStats
Source§fn default() -> LexerDfaStats
fn default() -> LexerDfaStats
Returns the “default value” for a type. Read more
impl Eq for LexerDfaStats
Source§impl PartialEq for LexerDfaStats
impl PartialEq for LexerDfaStats
impl StructuralPartialEq for LexerDfaStats
Auto Trait Implementations§
impl Freeze for LexerDfaStats
impl RefUnwindSafe for LexerDfaStats
impl Send for LexerDfaStats
impl Sync for LexerDfaStats
impl Unpin for LexerDfaStats
impl UnsafeUnpin for LexerDfaStats
impl UnwindSafe for LexerDfaStats
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