pub struct FastParseStats {
pub fast_facts: usize,
pub residual_bytes: usize,
pub fell_back: bool,
}Expand description
How much of a parse the fact fast path handled.
Fields§
§fast_facts: usizeFacts built without pest.
residual_bytes: usizeBytes of source pest still had to parse (everything but the facts).
fell_back: boolThe residual failed to parse/build, so the whole source was re-parsed by the reference parser (its result is what was returned).
Trait Implementations§
Source§impl Clone for FastParseStats
impl Clone for FastParseStats
Source§fn clone(&self) -> FastParseStats
fn clone(&self) -> FastParseStats
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 FastParseStats
Source§impl Debug for FastParseStats
impl Debug for FastParseStats
Source§impl Default for FastParseStats
impl Default for FastParseStats
Source§fn default() -> FastParseStats
fn default() -> FastParseStats
Returns the “default value” for a type. Read more
impl Eq for FastParseStats
Source§impl PartialEq for FastParseStats
impl PartialEq for FastParseStats
Source§fn eq(&self, other: &FastParseStats) -> bool
fn eq(&self, other: &FastParseStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastParseStats
Auto Trait Implementations§
impl Freeze for FastParseStats
impl RefUnwindSafe for FastParseStats
impl Send for FastParseStats
impl Sync for FastParseStats
impl Unpin for FastParseStats
impl UnsafeUnpin for FastParseStats
impl UnwindSafe for FastParseStats
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more