pub struct ModuleDebugInfo {
pub binary_path: String,
pub address_mappings: Vec<AddressMapping>,
}Expand description
Debug information for a module (binary) containing one or more addresses
Fields§
§binary_path: String§address_mappings: Vec<AddressMapping>Implementations§
Source§impl ModuleDebugInfo
impl ModuleDebugInfo
Sourcepub fn format_for_display(
&self,
is_last_module: bool,
source_file: &Option<String>,
source_line: Option<u32>,
verbose: bool,
) -> String
pub fn format_for_display( &self, is_last_module: bool, source_file: &Option<String>, source_line: Option<u32>, verbose: bool, ) -> String
Format module info with tree-style layout for display
Sourcepub fn format_variable_line(var: &VariableDebugInfo, verbose: bool) -> String
pub fn format_variable_line(var: &VariableDebugInfo, verbose: bool) -> String
Overload helper: build from VariableDebugInfo
Trait Implementations§
Source§impl Clone for ModuleDebugInfo
impl Clone for ModuleDebugInfo
Source§fn clone(&self) -> ModuleDebugInfo
fn clone(&self) -> ModuleDebugInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleDebugInfo
impl RefUnwindSafe for ModuleDebugInfo
impl Send for ModuleDebugInfo
impl Sync for ModuleDebugInfo
impl Unpin for ModuleDebugInfo
impl UnwindSafe for ModuleDebugInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more