Struct leo_asg::statement::BlockStatement[][src]

pub struct BlockStatement<'a> {
    pub parent: Cell<Option<&'a Statement<'a>>>,
    pub span: Option<Span>,
    pub statements: Vec<Cell<&'a Statement<'a>>>,
    pub scope: &'a Scope<'a>,
}

Fields

parent: Cell<Option<&'a Statement<'a>>>span: Option<Span>statements: Vec<Cell<&'a Statement<'a>>>scope: &'a Scope<'a>

Trait Implementations

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

impl<'a> Into<Block> for &BlockStatement<'a>[src]

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

Auto Trait Implementations

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

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

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

impl<'a> Unpin for BlockStatement<'a>

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