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),
    Begin(SimulationCommand),
    End(SimulationCommand),
}

An element in a VCD file

Variants

Comment(String)

A $comment command

Date(String)

A $date command

Version(String)

A $version command

Timescale(u32TimescaleUnit)

A $timescale command

ScopeDef(ScopeTypeString)

A $scope command

Upscope

An $upscope command

VarDef(VarTypeu32IdCodeString)

A $var command

Enddefinitions

An $enddefinitions command

Timestamp(u64)

A #xxx timestamp

ChangeScalar(IdCodeValue)

A 0a change to a scalar variable

ChangeVector(IdCodeVec<Value>)

A b0000 a change to a vector variable

ChangeReal(IdCodef64)

A r1.234 a change to a real variable

Begin(SimulationCommand)

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.

End(SimulationCommand)

An end of a simulation command.

Trait Implementations

impl Clone for Command
[src]

fn clone(&self) -> Command

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Command
[src]

fn eq(&self, __arg_0: &Command) -> bool

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

fn ne(&self, __arg_0: &Command) -> bool

This method tests for !=.

impl Debug for Command
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.