[−][src]Enum falcon::il::RefFunctionLocation
A location applied to a Function
.
Variants
Instruction(&'f Block, &'f Instruction)
Edge(&'f Edge)
EmptyBlock(&'f Block)
Methods
impl<'f> RefFunctionLocation<'f>
[src]
pub fn block(&self) -> Option<&Block>
[src]
If this RefFunctionLocation
references a Block
, get that Block
.
pub fn instruction(&self) -> Option<&Instruction>
[src]
If this RefFunctionLocation
references an Instruction
, get that
Instruction
.
pub fn edge(&self) -> Option<&Edge>
[src]
If this RefFunctionLocation
references an Edge
, get that Edge
.
pub fn program_location(self, function: &'f Function) -> RefProgramLocation<'f>
[src]
Quickly turn this into a RefProgramLocation
Trait Implementations
impl<'f> Clone for RefFunctionLocation<'f>
[src]
fn clone(&self) -> RefFunctionLocation<'f>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'f> Debug for RefFunctionLocation<'f>
[src]
impl<'f> Display for RefFunctionLocation<'f>
[src]
impl<'f> Eq for RefFunctionLocation<'f>
[src]
impl<'f> From<RefFunctionLocation<'f>> for FunctionLocation
[src]
fn from(function_location: RefFunctionLocation) -> FunctionLocation
[src]
impl<'f> Hash for RefFunctionLocation<'f>
[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<'f> Ord for RefFunctionLocation<'f>
[src]
fn cmp(&self, other: &RefFunctionLocation<'f>) -> 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<'f> PartialEq<RefFunctionLocation<'f>> for RefFunctionLocation<'f>
[src]
fn eq(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
fn ne(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
impl<'f> PartialOrd<RefFunctionLocation<'f>> for RefFunctionLocation<'f>
[src]
fn partial_cmp(&self, other: &RefFunctionLocation<'f>) -> Option<Ordering>
[src]
fn lt(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
fn le(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
fn gt(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
fn ge(&self, other: &RefFunctionLocation<'f>) -> bool
[src]
impl<'f> StructuralEq for RefFunctionLocation<'f>
[src]
impl<'f> StructuralPartialEq for RefFunctionLocation<'f>
[src]
Auto Trait Implementations
impl<'f> RefUnwindSafe for RefFunctionLocation<'f>
impl<'f> Send for RefFunctionLocation<'f>
impl<'f> Sync for RefFunctionLocation<'f>
impl<'f> Unpin for RefFunctionLocation<'f>
impl<'f> UnwindSafe for RefFunctionLocation<'f>
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>,