pub struct TranscriptData {
pub parts: Vec<OutputPart>,
pub source_checksum: u32,
pub fragments: Vec<Fragment>,
}Expand description
A decoded transcript: the output parts, the source program’s checksum (to verify compatibility before rendering), and the captured fragments (for re-rendering choice display text and computed substrings).
The caller should validate source_checksum against the program’s
checksum (via Program::source_checksum)
before passing parts to render_transcript.
Fields§
§parts: Vec<OutputPart>§source_checksum: u32§fragments: Vec<Fragment>Trait Implementations§
Source§impl Clone for TranscriptData
impl Clone for TranscriptData
Source§fn clone(&self) -> TranscriptData
fn clone(&self) -> TranscriptData
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 TranscriptData
impl RefUnwindSafe for TranscriptData
impl Send for TranscriptData
impl Sync for TranscriptData
impl Unpin for TranscriptData
impl UnsafeUnpin for TranscriptData
impl UnwindSafe for TranscriptData
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