[−][src]Struct runestick::DebugInfo
Debug information about a unit.
Fields
sources: Vec<Source>
File ids to source files.
instructions: Vec<DebugInst>
Debug information on each instruction.
Implementations
impl DebugInfo
[src]
pub fn source_at(&self, source_id: usize) -> Option<&Source>
[src]
Get the source for the given source id.
pub fn instruction_at(&self, ip: usize) -> Option<&DebugInst>
[src]
Get debug instruction at the given instruction pointer.
pub fn insert_source(&mut self, source: Source) -> usize
[src]
Insert a source.
pub fn sources(&self) -> impl Iterator<Item = (usize, &Source)>
[src]
Iterate over all sources.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DebugInfo
impl Send for DebugInfo
impl Sync for DebugInfo
impl Unpin for DebugInfo
impl UnwindSafe for DebugInfo
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,
fn borrow_mut(&mut self) -> &mut T
[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, 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,