[][src]Enum dqcsim::bindings::dqcs_measurement_t

#[repr(C)]pub enum dqcs_measurement_t {
    DQCS_MEAS_INVALID,
    DQCS_MEAS_ZERO,
    DQCS_MEAS_ONE,
    DQCS_MEAS_UNDEFINED,
}

Qubit measurement value.

Variants

DQCS_MEAS_INVALID

Error value used to indicate that something went wrong.

DQCS_MEAS_ZERO

Indicates that the qubit was measured to be zero.

DQCS_MEAS_ONE

Indicates that the qubit was measured to be one.

DQCS_MEAS_UNDEFINED

Indicates that the measurement value is unknown for whatever reason.

Trait Implementations

impl Clone for dqcs_measurement_t[src]

impl Copy for dqcs_measurement_t[src]

impl Debug for dqcs_measurement_t[src]

impl From<QubitMeasurementValue> for dqcs_measurement_t[src]

impl Into<Option<QubitMeasurementValue>> for dqcs_measurement_t[src]

impl PartialEq<dqcs_measurement_t> for dqcs_measurement_t[src]

impl StructuralPartialEq for dqcs_measurement_t[src]

Auto Trait Implementations

impl RefUnwindSafe for dqcs_measurement_t

impl Send for dqcs_measurement_t

impl Sync for dqcs_measurement_t

impl Unpin for dqcs_measurement_t

impl UnwindSafe for dqcs_measurement_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,