pub struct Editor<'a> { /* private fields */ }
Expand description
This structure exposes the main API to create DWARF information
Implementations§
§impl<'a> Editor<'a>
impl<'a> Editor<'a>
pub fn from_binary(bin: &'a mut dyn Binary) -> Option<Editor<'a>>
pub fn from_binary(bin: &'a mut dyn Binary) -> Option<Editor<'a>>
Instantiate an editor for the given binary object
pub fn create_compile_unit(&mut self) -> Option<CompilationUnit<'_>>
pub fn create_compile_unit(&mut self) -> Option<CompilationUnit<'_>>
Create a new compilation unit
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Editor<'a>
impl<'a> !Send for Editor<'a>
impl<'a> !Sync for Editor<'a>
impl<'a> Unpin for Editor<'a>
impl<'a> UnwindSafe for Editor<'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