pub struct ShadowParserReport {
pub text_lossless: bool,
pub stream_child_count: usize,
}Expand description
Public byte-completeness report from running the parser over an
input. The harness in tests/yaml.rs uses this to gate each
sub-commit on losslessness.
Fields§
§text_lossless: boolTrue if tree.text() == input.
stream_child_count: usizeNumber of children directly under YAML_STREAM (a coarse proxy for “did we emit any nesting yet”); useful to track structural progression across sub-commits.
Trait Implementations§
Source§impl Clone for ShadowParserReport
impl Clone for ShadowParserReport
Source§fn clone(&self) -> ShadowParserReport
fn clone(&self) -> ShadowParserReport
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 moreAuto Trait Implementations§
impl Freeze for ShadowParserReport
impl RefUnwindSafe for ShadowParserReport
impl Send for ShadowParserReport
impl Sync for ShadowParserReport
impl Unpin for ShadowParserReport
impl UnsafeUnpin for ShadowParserReport
impl UnwindSafe for ShadowParserReport
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