pub struct RegionInfo<'a> { /* private fields */ }
Expand description
Debug information about a given region of bytecode.
Implementations§
Source§impl<'a> RegionInfo<'a>
impl<'a> RegionInfo<'a>
Sourcepub fn entry_index(&self) -> usize
pub fn entry_index(&self) -> usize
Returns the entry index of this region info within the parent line program object.
Sourcepub fn instruction_range(&self) -> Range<ProgramCounter>
pub fn instruction_range(&self) -> Range<ProgramCounter>
The range of instructions this region covers.
Sourcepub fn frames(&self) -> impl ExactSizeIterator<Item = FrameInfo<'_>>
pub fn frames(&self) -> impl ExactSizeIterator<Item = FrameInfo<'_>>
Returns an iterator over the frames this region covers.
Auto Trait Implementations§
impl<'a> Freeze for RegionInfo<'a>
impl<'a> RefUnwindSafe for RegionInfo<'a>
impl<'a> Send for RegionInfo<'a>
impl<'a> Sync for RegionInfo<'a>
impl<'a> Unpin for RegionInfo<'a>
impl<'a> UnwindSafe for RegionInfo<'a>
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