pub struct FormatSnapshot {
pub macros: Vec<MacroDefinition>,
pub packages: Vec<FormatPackage>,
pub resources: Vec<FormatResource>,
pub opaque_engine_state: Vec<u8>,
pub registers: RegisterSnapshot,
}Expand description
Structured initialized format state that can be cloned into sessions.
Fields§
§macros: Vec<MacroDefinition>Macro definitions or macro state records preloaded into the format.
packages: Vec<FormatPackage>Packages incorporated during format initialization.
resources: Vec<FormatResource>Resources captured during format initialization.
opaque_engine_state: Vec<u8>Opaque bytes for generated engine state during bootstrap.
registers: RegisterSnapshotRegister values captured at format initialization time.
Trait Implementations§
Source§impl Clone for FormatSnapshot
impl Clone for FormatSnapshot
Source§impl Debug for FormatSnapshot
impl Debug for FormatSnapshot
Source§impl Default for FormatSnapshot
impl Default for FormatSnapshot
impl Eq for FormatSnapshot
Source§impl PartialEq for FormatSnapshot
impl PartialEq for FormatSnapshot
impl StructuralPartialEq for FormatSnapshot
Auto Trait Implementations§
impl Freeze for FormatSnapshot
impl RefUnwindSafe for FormatSnapshot
impl Send for FormatSnapshot
impl Sync for FormatSnapshot
impl Unpin for FormatSnapshot
impl UnsafeUnpin for FormatSnapshot
impl UnwindSafe for FormatSnapshot
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