[][src]Enum raptor::ir::Variable

pub enum Variable {
    Scalar(Scalar),
    StackVariable(StackVariable),
}

Multiple types of variables

Variants

Scalar(Scalar)
StackVariable(StackVariable)

Methods

impl Variable[src]

pub fn scalar(&self) -> Option<&Scalar>[src]

pub fn stack_variable(&self) -> Option<&StackVariable>[src]

pub fn bits(&self) -> usize[src]

pub fn ssa(&self) -> Option<usize>[src]

pub fn set_ssa(&mut self, ssa: Option<usize>)[src]

Trait Implementations

impl Clone for Variable[src]

impl Debug for Variable[src]

impl<'de> Deserialize<'de> for Variable[src]

impl Display for Variable[src]

impl Eq for Variable[src]

impl From<Scalar> for Variable[src]

impl From<Scalar> for Variable[src]

impl Hash for Variable[src]

impl<V: Value> Into<Expression<V>> for Variable[src]

impl Into<Variable> for StackVariable[src]

impl Ord for Variable[src]

impl PartialEq<Variable> for Variable[src]

impl PartialOrd<Variable> for Variable[src]

impl Serialize for Variable[src]

impl StructuralEq for Variable[src]

impl StructuralPartialEq for Variable[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[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.