pub struct FrameGraphSnapshotV1 {
pub format: String,
pub version: SnapshotVersion,
pub producer: SnapshotProducer,
pub capture: SnapshotCapture,
pub graph: SnapshotGraph,
pub memory: SnapshotMemory,
pub timings: SnapshotTimings,
pub diagnostics: Vec<SnapshotDiagnostic>,
pub extensions: BTreeMap<String, Value>,
}Expand description
Canonical, strongly typed ZenFG FrameGraph Snapshot 1.2 document.
This structure mirrors the portable JSON wire model. Prefer
crate::parse_frame_graph_snapshot or crate::decode_frame_graph_snapshot
over direct Serde deserialization so format/version checks, migrations, and
cross-record validation are applied. Prefer crate::to_json or
crate::to_json_pretty for validated encoding.
Fields§
§format: String§version: SnapshotVersion§producer: SnapshotProducer§capture: SnapshotCapture§graph: SnapshotGraph§memory: SnapshotMemory§timings: SnapshotTimings§diagnostics: Vec<SnapshotDiagnostic>§extensions: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for FrameGraphSnapshotV1
impl Clone for FrameGraphSnapshotV1
Source§fn clone(&self) -> FrameGraphSnapshotV1
fn clone(&self) -> FrameGraphSnapshotV1
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 moreSource§impl Debug for FrameGraphSnapshotV1
impl Debug for FrameGraphSnapshotV1
Source§impl<'de> Deserialize<'de> for FrameGraphSnapshotV1
impl<'de> Deserialize<'de> for FrameGraphSnapshotV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FrameGraphSnapshotV1
impl PartialEq for FrameGraphSnapshotV1
Source§impl Serialize for FrameGraphSnapshotV1
impl Serialize for FrameGraphSnapshotV1
impl StructuralPartialEq for FrameGraphSnapshotV1
Auto Trait Implementations§
impl Freeze for FrameGraphSnapshotV1
impl RefUnwindSafe for FrameGraphSnapshotV1
impl Send for FrameGraphSnapshotV1
impl Sync for FrameGraphSnapshotV1
impl Unpin for FrameGraphSnapshotV1
impl UnsafeUnpin for FrameGraphSnapshotV1
impl UnwindSafe for FrameGraphSnapshotV1
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