pub struct PathEntry<'p>(pub Location<'p>);
Expand description
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.
Tuple Fields§
§0: Location<'p>
Trait Implementations§
source§impl<'p> PartialEq for PathEntry<'p>
impl<'p> PartialEq for PathEntry<'p>
impl<'p> Eq for PathEntry<'p>
impl<'p> StructuralEq for PathEntry<'p>
impl<'p> StructuralPartialEq for PathEntry<'p>
Auto Trait Implementations§
impl<'p> RefUnwindSafe for PathEntry<'p>
impl<'p> Send for PathEntry<'p>
impl<'p> Sync for PathEntry<'p>
impl<'p> Unpin for PathEntry<'p>
impl<'p> UnwindSafe for PathEntry<'p>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more