Enum moore_svlog::value::ValueKind [−][src]
pub enum ValueKind<'t> {
Void,
Int(BigInt, BitVec, BitVec),
Time(BigRational),
StructOrArray(Vec<Value<'t>>),
String(Vec<u8>),
Error,
}
Expand description
The different forms a value can assume.
Variants
The void
value.
An arbitrary precision integer.
The first field contains the value. The second field indicates the special bits (x or z), and the third indicates the x bits.
Time(BigRational)
An arbitrary precision time interval.
Tuple Fields of Time
0: BigRational
A struct.
A string.
Note that we use a raw u8
array, instead of Rust’s String
type. This
is due to String
guaranteeing that the encoded byte sequence is valid
UTF8, which SystemVerilog does not guarantee.
An error occurred during value computation.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'t> !RefUnwindSafe for ValueKind<'t>
impl<'t> !UnwindSafe for ValueKind<'t>
Blanket Implementations
Mutably borrows from an owned value. Read more