pub struct DebugSymbolTable { /* private fields */ }
Expand description
Maps bytecode offsets to DebugSymbols
Implementations§
Source§impl DebugSymbolTable
impl DebugSymbolTable
pub fn new() -> Self
pub fn insert(&mut self, offset: usize, symbol: DebugSymbol)
pub fn lookup(&self, offset: usize) -> Option<&DebugSymbol>
pub fn iter(&self) -> impl Iterator<Item = (usize, &DebugSymbol)> + '_
pub fn symbols(&self) -> impl Iterator<Item = &DebugSymbol>
Trait Implementations§
Source§impl Debug for DebugSymbolTable
impl Debug for DebugSymbolTable
Auto Trait Implementations§
impl Freeze for DebugSymbolTable
impl RefUnwindSafe for DebugSymbolTable
impl Send for DebugSymbolTable
impl Sync for DebugSymbolTable
impl Unpin for DebugSymbolTable
impl UnwindSafe for DebugSymbolTable
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