Struct Header
Source pub struct Header {Show 13 fields
pub section_length: u64,
pub start_time: u64,
pub end_time: u64,
pub memory_used: u64,
pub scope_count: u64,
pub var_count: u64,
pub max_handle: u64,
pub vc_section_count: u64,
pub timescale_exponent: i8,
pub version: String,
pub date: String,
pub file_type: u8,
pub time_zero: u64,
}
Expand description
In-memory representation of the FST header block.
Length of the header section (should remain 329 bytes for compatibility).
Earliest simulation timestamp recorded in the trace.
Latest simulation timestamp recorded in the trace.
Writer memory usage hint captured during dump generation.
Number of scopes written by the producer.
Number of variables written by the producer.
§max_handle: u64Highest variable handle emitted (1-based index).
Number of value-change sections present in the file.
Base-10 exponent describing the simulation time unit (10^exponent seconds).
Producer version string (null terminated within the 128-byte buffer).
Producer supplied date string (null terminated within the 119-byte buffer).
File type marker (e.g. Verilog, VHDL, mixed).
Simulation time zero offset stored in the header.
Reads and parses the header block from the provided reader.
Returns the timescale as 10^exponent seconds.
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.