[][src]Struct gf::code::cfa::Edge

pub struct Edge(pub BasicBlockId, pub bool, pub BasicBlockId);

Edge in a code fragment control flow.


impl Edge[src]

pub fn source(&self) -> BasicBlockId[src]

Return source basic block.

pub fn target(&self) -> BasicBlockId[src]

Return target basic block.

pub fn direction(&self) -> bool[src]

Return direction.

Trait Implementations

impl Clone for Edge[src]

impl Copy for Edge[src]

impl Eq for Edge[src]

impl Ord for Edge[src]

impl PartialEq<Edge> for Edge[src]

impl PartialOrd<Edge> for Edge[src]

impl Debug for Edge[src]

impl Hash for Edge[src]

impl StructuralPartialEq for Edge[src]

impl StructuralEq for Edge[src]

Auto Trait Implementations

impl Send for Edge

impl Sync for Edge

impl Unpin for Edge

impl UnwindSafe for Edge

impl RefUnwindSafe for Edge

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized