[−][src]Struct gf::pivot::basic_block::Edge
🟢 Intraprocedural edge in a sealed module.
Implementations
impl<'a> Edge<'a>
[src]
pub unsafe fn from_unsealed(module: &'a Module, unsealed: UnsealedEdge) -> Self
[src]
Wrap an unsealed edge.
pub fn module(&self) -> &'a Module
[src]
Return parent module.
pub fn as_unsealed(&self) -> &UnsealedEdge
[src]
Return the unsealed edge.
pub fn source(&self) -> BasicBlock<'a>
[src]
Return source basic block.
pub fn target(&self) -> BasicBlock<'a>
[src]
Return target basic block.
pub fn direction(&self) -> bool
[src]
Return edge direction.
pub fn vars(&self) -> impl Iterator<Item = (Var, Var)> + 'a
[src]
Return an iterator over pairs of variables sent across the edge.
Trait Implementations
impl<'a> Clone for Edge<'a>
[src]
impl<'a> Copy for Edge<'a>
[src]
impl<'a> Eq for Edge<'a>
[src]
impl<'a> Hash for Edge<'a>
[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<'a> PartialEq<Edge<'a>> for Edge<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Edge<'a>
impl<'a> Send for Edge<'a>
impl<'a> Sync for Edge<'a>
impl<'a> Unpin for Edge<'a>
impl<'a> UnwindSafe for Edge<'a>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,