pub struct Disassembler<'c, 's> { /* private fields */ }
Implementations§
Source§impl<'c, 's> Disassembler<'c, 's>
impl<'c, 's> Disassembler<'c, 's>
pub fn new(program: &'c UnloadedProgram) -> Self
pub fn with_symbols(self, symbols: &'s ChunkSymbols) -> Self
pub fn with_symbol_table( self, symbol_table: &'s ResolvedSymbolTable<'s>, ) -> Self
pub fn write_disassembly(&self, fmt: &mut impl Write) -> Result
Trait Implementations§
Auto Trait Implementations§
impl<'c, 's> Freeze for Disassembler<'c, 's>
impl<'c, 's> !RefUnwindSafe for Disassembler<'c, 's>
impl<'c, 's> !Send for Disassembler<'c, 's>
impl<'c, 's> !Sync for Disassembler<'c, 's>
impl<'c, 's> Unpin for Disassembler<'c, 's>
impl<'c, 's> !UnwindSafe for Disassembler<'c, 's>
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