Enum vcd::Command
[−]
[src]
pub enum Command { Comment(String), Date(String), Version(String), Timescale(u32, TimescaleUnit), ScopeDef(ScopeType, String), Upscope, VarDef(VarType, u32, IdCode, String), Enddefinitions, Timestamp(u64), ChangeScalar(IdCode, Value), ChangeVector(IdCode, Vec<Value>), ChangeReal(IdCode, f64), 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(u32, TimescaleUnit)
A $timescale
command
ScopeDef(ScopeType, String)
A $scope
command
Upscope
An $upscope
command
VarDef(VarType, u32, IdCode, String)
A $var
command
Enddefinitions
An $enddefinitions
command
Timestamp(u64)
A #xxx
timestamp
ChangeScalar(IdCode, Value)
A 0a
change to a scalar variable
ChangeVector(IdCode, Vec<Value>)
A b0000 a
change to a vector variable
ChangeReal(IdCode, f64)
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 !=
.