Struct haybale::PathEntry[][src]

pub struct PathEntry<'p>(pub Location<'p>);

Describes one segment of a path through the LLVM IR. The "segment" will be one or more consecutive instructions in a single basic block.

For now, it's just a wrapper around a Location describing where the path segment started. E.g., instr 0 within some basic block means we started at the beginning of that basic block. Since the segment stays within a single basic block, the end of the segment must be somewhere within that basic block.

Trait Implementations

impl<'p> Clone for PathEntry<'p>[src]

impl<'p> Debug for PathEntry<'p>[src]

impl<'p> Eq for PathEntry<'p>[src]

impl<'p> PartialEq<PathEntry<'p>> for PathEntry<'p>[src]

impl<'p> StructuralEq for PathEntry<'p>[src]

impl<'p> StructuralPartialEq for PathEntry<'p>[src]

Auto Trait Implementations

impl<'p> RefUnwindSafe for PathEntry<'p>[src]

impl<'p> Send for PathEntry<'p>[src]

impl<'p> Sync for PathEntry<'p>[src]

impl<'p> Unpin for PathEntry<'p>[src]

impl<'p> UnwindSafe for PathEntry<'p>[src]

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> 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, 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.