Enum vcd::Value [] [src]

pub enum Value {
    V0,
    V1,
    X,
    Z,
}

A four-valued logic scalar value.

Variants

Logic high (prefixed with V to make a valid Rust identifier)

Logic low (prefixed with V to make a valid Rust identifier)

An uninitialized or unknown value

The "high-impedance" value

Trait Implementations

impl Debug for Value
[src]

Formats the value using the given formatter.

impl Copy for Value
[src]

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Value
[src]

impl PartialEq for Value
[src]

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

This method tests for !=.

impl FromStr for Value
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl From<bool> for Value
[src]

true converts to V1, false to V0

impl Display for Value
[src]

Formats the value using the given formatter. Read more