pub struct LineTable { /* private fields */ }Implementations§
Source§impl LineTable
impl LineTable
pub fn get_entry_by_address( self: &Rc<Self>, address: &FileAddress, ) -> Result<LineTableIter, SdbError>
pub fn get_entries_by_line( self: &Rc<Self>, path: &Path, line: u64, ) -> Result<Vec<LineTableIter>, SdbError>
pub fn iter(self: &Rc<Self>) -> Result<LineTableIter, SdbError>
pub fn new( data: Bytes, cu: &Rc<CompileUnit>, default_is_stmt: bool, line_base: i8, line_range: u8, opcode_base: u8, include_directories: Vec<PathBuf>, file_names: Vec<LineTableFile>, ) -> Rc<Self>
pub fn cu(&self) -> Rc<CompileUnit>
pub fn file_names(&self) -> Ref<'_, Vec<LineTableFile>>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LineTable
impl !RefUnwindSafe for LineTable
impl !Send for LineTable
impl !Sync for LineTable
impl Unpin for LineTable
impl !UnwindSafe for LineTable
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