pub struct RoundTrip {
pub parse: PrismParse,
pub encode: PrismEncode,
pub reparsed: Option<PrismParse>,
pub loss_report: LossReport,
}Expand description
Full round-trip proof for one codec surface.
Fields§
§parse: PrismParseInitial parse result.
encode: PrismEncodeEncode result.
reparsed: Option<PrismParse>Parse result for the encoded output.
loss_report: LossReportLoss report for the cycle.
Trait Implementations§
impl Eq for RoundTrip
impl StructuralPartialEq for RoundTrip
Auto Trait Implementations§
impl Freeze for RoundTrip
impl RefUnwindSafe for RoundTrip
impl Send for RoundTrip
impl Sync for RoundTrip
impl Unpin for RoundTrip
impl UnsafeUnpin for RoundTrip
impl UnwindSafe for RoundTrip
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