pub struct FunctionDecompiler { /* private fields */ }
Expand description
A struct to hold the state of a function decompiler
Implementations§
Source§impl FunctionDecompiler
impl FunctionDecompiler
Sourcepub fn decompile(
&mut self,
emit_context: EmitContext,
) -> Result<String, FunctionDecompilerError>
pub fn decompile( &mut self, emit_context: EmitContext, ) -> Result<String, FunctionDecompilerError>
Sourcepub fn add_node_to_current_region(&mut self, node: AstKind)
pub fn add_node_to_current_region(&mut self, node: AstKind)
Add a node to the current region.
Trait Implementations§
Source§impl DotRenderableGraph for FunctionDecompiler
impl DotRenderableGraph for FunctionDecompiler
Source§fn render_dot(&self, config: CfgDotConfig) -> String
fn render_dot(&self, config: CfgDotConfig) -> String
Source§impl NodeResolver for FunctionDecompiler
impl NodeResolver for FunctionDecompiler
Auto Trait Implementations§
impl Freeze for FunctionDecompiler
impl !RefUnwindSafe for FunctionDecompiler
impl Send for FunctionDecompiler
impl Sync for FunctionDecompiler
impl Unpin for FunctionDecompiler
impl !UnwindSafe for FunctionDecompiler
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