[][src]Enum qip::qubits::Parent

pub enum Parent {
    Owned(Vec<Register>, Option<StateModifier>),
    Shared(Rc<Register>),
}

Possible relations to a parent Register

Variants

Owned(Vec<Register>, Option<StateModifier>)

A set of owned parents by a given Register, that Register has the union of all indices of its parents. The transition is governed by the StateModifier if present.

Shared(Rc<Register>)

A single shared parent, the child has a subsection of the indices of the parent.

Trait Implementations

impl Debug for Parent[src]

Auto Trait Implementations

impl Unpin for Parent

impl !Send for Parent

impl !Sync for Parent

impl !RefUnwindSafe for Parent

impl !UnwindSafe for Parent

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]