Struct leo_asg::program::Circuit[][src]

pub struct Circuit<'a> {
    pub id: u32,
    pub name: RefCell<Identifier>,
    pub core_mapping: RefCell<Option<String>>,
    pub scope: &'a Scope<'a>,
    pub span: Option<Span>,
    pub members: RefCell<IndexMap<String, CircuitMember<'a>>>,
}

Fields

id: u32name: RefCell<Identifier>core_mapping: RefCell<Option<String>>scope: &'a Scope<'a>span: Option<Span>members: RefCell<IndexMap<String, CircuitMember<'a>>>

Implementations

impl<'a> Circuit<'a>[src]

Trait Implementations

impl<'a> Clone for Circuit<'a>[src]

impl<'a> Eq for Circuit<'a>[src]

impl<'a> Into<Circuit> for &Circuit<'a>[src]

impl<'a> Node for Circuit<'a>[src]

impl<'a> PartialEq<Circuit<'a>> for Circuit<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Circuit<'a>

impl<'a> !Send for Circuit<'a>

impl<'a> !Sync for Circuit<'a>

impl<'a> Unpin for Circuit<'a>

impl<'a> !UnwindSafe for Circuit<'a>

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument 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.