[][src]Enum raptor::ir::RValue

pub enum RValue<V: Value> {
    Value(V),
    Reference(Reference<V>),
}

Variants

Value(V)
Reference(Reference<V>)

Methods

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

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

pub fn reference(&self) -> Option<&Reference<V>>[src]

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

A stack pointer is a Reference that wraps a StackVariable

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

Trait Implementations

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

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

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

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

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

impl From<Constant> for RValue<Constant>[src]

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

impl<V> Send for RValue<V>

impl<V> Sync for RValue<V>

impl<V> Unpin for RValue<V> where
    V: Unpin

impl<V> UnwindSafe for RValue<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.