pub struct TextLimits {
pub max_steps: usize,
pub max_states: usize,
pub max_capture_history: usize,
pub max_subject_symbols: usize,
}Expand description
Step limits for the bounded VM.
Fields§
§max_steps: usizeMaximum total transitions (the legacy text VM treats these as steps).
max_states: usizeMaximum automaton states admitted by one execution.
max_capture_history: usizeMaximum capture-boundary records retained by one execution.
max_subject_symbols: usizeMaximum subject symbols inspected by one execution.
Trait Implementations§
Source§impl Clone for TextLimits
impl Clone for TextLimits
Source§fn clone(&self) -> TextLimits
fn clone(&self) -> TextLimits
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 TextLimits
Source§impl Debug for TextLimits
impl Debug for TextLimits
Source§impl Default for TextLimits
impl Default for TextLimits
impl Eq for TextLimits
Source§impl PartialEq for TextLimits
impl PartialEq for TextLimits
impl StructuralPartialEq for TextLimits
Auto Trait Implementations§
impl Freeze for TextLimits
impl RefUnwindSafe for TextLimits
impl Send for TextLimits
impl Sync for TextLimits
impl Unpin for TextLimits
impl UnsafeUnpin for TextLimits
impl UnwindSafe for TextLimits
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