Struct move_bytecode_viewer::source_viewer::ModuleViewer
source · [−]pub struct ModuleViewer { /* private fields */ }Implementations
sourceimpl ModuleViewer
impl ModuleViewer
pub fn new(
module: CompiledModule,
source_map: SourceMap,
source_location: &Path
) -> Self
Trait Implementations
sourceimpl Clone for ModuleViewer
impl Clone for ModuleViewer
sourcefn clone(&self) -> ModuleViewer
fn clone(&self) -> ModuleViewer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ModuleViewer
impl Debug for ModuleViewer
sourceimpl<'a> RightScreen<BytecodeViewer<'a>> for ModuleViewer
impl<'a> RightScreen<BytecodeViewer<'a>> for ModuleViewer
sourcefn source_for_code_location(
&self,
bytecode_info: &BytecodeInfo
) -> Result<SourceContext>
fn source_for_code_location(
&self,
bytecode_info: &BytecodeInfo
) -> Result<SourceContext>
Take a SourceIndex from the Indexer and turn it into a context that will be diplayed on
the right screen. Read more
fn backing_string(&self) -> String
Auto Trait Implementations
impl RefUnwindSafe for ModuleViewer
impl Send for ModuleViewer
impl Sync for ModuleViewer
impl Unpin for ModuleViewer
impl UnwindSafe for ModuleViewer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more