[][src]Struct qip::measurement_ops::MeasuredCondition

pub struct MeasuredCondition<P: Precision> {
    pub measured: u64,
    pub prob: Option<P>,
}

A set of measured results we want to receive (used to avoid the randomness of measurement if a given result is desired).

Fields

measured: u64

Value which was measured

prob: Option<P>

Chance of having received that value if known.

Trait Implementations

impl<P: Debug + Precision> Debug for MeasuredCondition<P>[src]

Auto Trait Implementations

impl<P> Unpin for MeasuredCondition<P> where
    P: Unpin

impl<P> Send for MeasuredCondition<P>

impl<P> Sync for MeasuredCondition<P>

impl<P> RefUnwindSafe for MeasuredCondition<P> where
    P: RefUnwindSafe

impl<P> UnwindSafe for MeasuredCondition<P> where
    P: UnwindSafe

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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