[][src]Enum raptor::ir::FunctionLocation

pub enum FunctionLocation {
    Instruction(usizeusize),
    Edge(usizeusize),
    EmptyBlock(usize),
}

Variants

Instruction(usizeusize)
Edge(usizeusize)
EmptyBlock(usize)

Methods

impl FunctionLocation[src]

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

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

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

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

pub fn apply<'f, V: Value>(
    &self,
    function: &'f Function<V>
) -> Result<RefFunctionLocation<'f, V>>
[src]

Trait Implementations

impl Clone for FunctionLocation[src]

impl Debug for FunctionLocation[src]

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

impl Display for FunctionLocation[src]

impl Eq for FunctionLocation[src]

impl<'r, V: Value> From<RefFunctionLocation<'r, V>> for FunctionLocation[src]

impl Hash for FunctionLocation[src]

impl Ord for FunctionLocation[src]

impl PartialEq<FunctionLocation> for FunctionLocation[src]

impl PartialOrd<FunctionLocation> for FunctionLocation[src]

impl Serialize for FunctionLocation[src]

impl StructuralEq for FunctionLocation[src]

impl StructuralPartialEq for FunctionLocation[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.