pub struct ShadowParserV2Report {
pub text_lossless: bool,
pub stream_child_count: usize,
}Expand description
Public byte-completeness report from running the v2 parser scaffold
over an input. The harness in tests/yaml.rs uses this to gate
each step-11 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 ShadowParserV2Report
impl Clone for ShadowParserV2Report
Source§fn clone(&self) -> ShadowParserV2Report
fn clone(&self) -> ShadowParserV2Report
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 ShadowParserV2Report
impl RefUnwindSafe for ShadowParserV2Report
impl Send for ShadowParserV2Report
impl Sync for ShadowParserV2Report
impl Unpin for ShadowParserV2Report
impl UnsafeUnpin for ShadowParserV2Report
impl UnwindSafe for ShadowParserV2Report
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