[−][src]Enum raptor::ir::RefFunctionLocation
Variants
Instruction(&'r Block<V>, &'r Instruction<V>)
EmptyBlock(&'r Block<V>)
Edge(&'r Edge<V>)
Methods
impl<'r, V: Value> RefFunctionLocation<'r, V>
[src]
pub fn from_block(block: &'r Block<V>) -> RefFunctionLocation<'r, V>
[src]
pub fn from_address(
function: &Function<V>,
address: u64
) -> Option<RefFunctionLocation<V>>
[src]
function: &Function<V>,
address: u64
) -> Option<RefFunctionLocation<V>>
pub fn instruction(&self) -> Option<&Instruction<V>>
[src]
pub fn block(&self) -> Option<&Block<V>>
[src]
pub fn empty_block(&self) -> Option<&Block<V>>
[src]
pub fn edge(&self) -> Option<&Edge<V>>
[src]
pub fn address(&self) -> Option<u64>
[src]
Trait Implementations
impl<'r, V: Clone + Value + 'r> Clone for RefFunctionLocation<'r, V>
[src]
fn clone(&self) -> RefFunctionLocation<'r, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'r, V: Debug + Value + 'r> Debug for RefFunctionLocation<'r, V>
[src]
impl<'r, V: Value> Display for RefFunctionLocation<'r, V>
[src]
impl<'r, V: Eq + Value + 'r> Eq for RefFunctionLocation<'r, V>
[src]
impl<'r, V: Value> From<RefFunctionLocation<'r, V>> for FunctionLocation
[src]
fn from(rfl: RefFunctionLocation<'r, V>) -> FunctionLocation
[src]
impl<'r, V: Hash + Value + 'r> Hash for RefFunctionLocation<'r, V>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'r, V: Ord + Value + 'r> Ord for RefFunctionLocation<'r, V>
[src]
fn cmp(&self, other: &RefFunctionLocation<'r, V>) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'r, V: PartialEq + Value + 'r> PartialEq<RefFunctionLocation<'r, V>> for RefFunctionLocation<'r, V>
[src]
fn eq(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
fn ne(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
impl<'r, V: PartialOrd + Value + 'r> PartialOrd<RefFunctionLocation<'r, V>> for RefFunctionLocation<'r, V>
[src]
fn partial_cmp(&self, other: &RefFunctionLocation<'r, V>) -> Option<Ordering>
[src]
fn lt(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
fn le(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
fn gt(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
fn ge(&self, other: &RefFunctionLocation<'r, V>) -> bool
[src]
impl<'r, V: Value + 'r> StructuralEq for RefFunctionLocation<'r, V>
[src]
impl<'r, V: Value + 'r> StructuralPartialEq for RefFunctionLocation<'r, V>
[src]
Auto Trait Implementations
impl<'r, V> RefUnwindSafe for RefFunctionLocation<'r, V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<'r, V> Send for RefFunctionLocation<'r, V>
impl<'r, V> Sync for RefFunctionLocation<'r, V>
impl<'r, V> Unpin for RefFunctionLocation<'r, V>
impl<'r, V> UnwindSafe for RefFunctionLocation<'r, V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,