[][src]Enum gf::pivot::stmt::UnsealedStmt

pub enum UnsealedStmt {
    Apply(Apply),
    Call(Call),
    Init(Init),
    Load(Load),
    Mix(Mix),
    Slice(Slice),
    Store(Store),
}

⚪ Statement in an unsealed module.

Variants

Apply(Apply)

An APPLY statement.

Call(Call)

A CALL statement.

Init(Init)

An INIT statement.

Load(Load)

A LOAD statement.

Mix(Mix)

A MIX statement.

Slice(Slice)

A SLICE statement.

Store(Store)

A STORE statement.

Implementations

impl UnsealedStmt[src]

pub fn kind(&self) -> StmtKind[src]

Return statement kind.

pub fn defs(&self) -> Vec<Var>[src]

Return a vector of variables defined in the statement.

pub fn defs_mut(&mut self) -> Vec<&mut Var>[src]

Return a vector of mutable references to variables defined in the statement.

pub fn uses(&self) -> Vec<Var>[src]

Return a vector of variables used in the statement.

pub fn uses_mut(&mut self) -> Vec<&mut Var>[src]

Return a vector of mutable references to variables used in the statement.

Trait Implementations

impl Clone for UnsealedStmt[src]

impl Debug for UnsealedStmt[src]

impl Eq for UnsealedStmt[src]

impl From<Apply> for UnsealedStmt[src]

impl From<Call> for UnsealedStmt[src]

impl From<Init> for UnsealedStmt[src]

impl From<Load> for UnsealedStmt[src]

impl From<Mix> for UnsealedStmt[src]

impl From<Slice> for UnsealedStmt[src]

impl From<Store> for UnsealedStmt[src]

impl Hash for UnsealedStmt[src]

impl PartialEq<UnsealedStmt> for UnsealedStmt[src]

impl StructuralEq for UnsealedStmt[src]

impl StructuralPartialEq for UnsealedStmt[src]

Auto Trait Implementations

impl RefUnwindSafe for UnsealedStmt

impl Send for UnsealedStmt

impl Sync for UnsealedStmt

impl Unpin for UnsealedStmt

impl UnwindSafe for UnsealedStmt

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, 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.