[][src]Enum raptor::ir::LValue

pub enum LValue<V: Value> {
    Variable(Variable),
    Dereference(Dereference<V>),
}

Variants

Variable(Variable)
Dereference(Dereference<V>)

Methods

impl<V: Value> LValue<V>[src]

pub fn variable(&self) -> Option<&Variable>[src]

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

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

pub fn dereference(&self) -> Option<&Dereference<V>>[src]

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

Trait Implementations

impl<V: Clone + Value> Clone for LValue<V>[src]

impl<V: Debug + Value> Debug for LValue<V>[src]

impl<'de, V: Value> Deserialize<'de> for LValue<V> where
    V: Deserialize<'de>, 
[src]

impl<V: Value> Display for LValue<V>[src]

impl<V: Eq + Value> Eq for LValue<V>[src]

impl<V: Value> From<Scalar> for LValue<V>[src]

impl<V: Hash + Value> Hash for LValue<V>[src]

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

impl<V: Value> Into<LValue<V>> for Dereference<V>[src]

impl<V: Ord + Value> Ord for LValue<V>[src]

impl<V: PartialEq + Value> PartialEq<LValue<V>> for LValue<V>[src]

impl<V: PartialOrd + Value> PartialOrd<LValue<V>> for LValue<V>[src]

impl<V: Value> Serialize for LValue<V> where
    V: Serialize
[src]

impl<V: Value> StructuralEq for LValue<V>[src]

impl<V: Value> StructuralPartialEq for LValue<V>[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for LValue<V> where
    V: RefUnwindSafe

impl<V> Send for LValue<V>

impl<V> Sync for LValue<V>

impl<V> Unpin for LValue<V>

impl<V> UnwindSafe for LValue<V> where
    V: UnwindSafe

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.