Enum vcd::Command [] [src]

pub enum Command {
    Comment(String),
    Date(String),
    Version(String),
    Timescale(u32TimescaleUnit),
    ScopeDef(ScopeTypeString),
    Upscope,
    VarDef(VarTypeu32IdCodeString),
    Enddefinitions,
    Timestamp(u64),
    ChangeScalar(IdCodeValue),
    ChangeVector(IdCodeVec<Value>),
    ChangeReal(IdCodef64),
    ChangeString(IdCodeString),
    Begin(SimulationCommand),
    End(SimulationCommand),
}

An element in a VCD file.

Variants

A $comment command

A $date command

A $version command

A $timescale command

A $scope command

An $upscope command

A $var command

An $enddefinitions command

A #xxx timestamp

A 0a change to a scalar variable

A b0000 a change to a vector variable

A r1.234 a change to a real variable

A sSTART a change to a (real?) variable

A beginning of a simulation command. Unlike header commands, which are parsed atomically, simulation commands emit a Begin, followed by the data changes within them, followed by End.

An end of a simulation command.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter.

impl PartialEq for Command
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more