Struct leo_asg::variable::InnerVariable[][src]

pub struct InnerVariable<'a> {
    pub id: u32,
    pub name: Identifier,
    pub type_: Type<'a>,
    pub mutable: bool,
    pub const_: bool,
    pub declaration: VariableDeclaration,
    pub references: Vec<&'a Expression<'a>>,
    pub assignments: Vec<&'a Statement<'a>>,
}

Stores information on a program variable.

Fields

id: u32name: Identifiertype_: Type<'a>mutable: boolconst_: booldeclaration: VariableDeclarationreferences: Vec<&'a Expression<'a>>assignments: Vec<&'a Statement<'a>>

Trait Implementations

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

Auto Trait Implementations

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

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

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

impl<'a> Unpin for InnerVariable<'a>

impl<'a> !UnwindSafe for InnerVariable<'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<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.