[−][src]Struct symbolic_debuginfo::breakpad::BreakpadLineRecord
A line record associated to a BreakpadFunctionRecord
.
Line records are so frequent in a Breakpad symbol file that they do not have a record
identifier. They immediately follow the BreakpadFuncRecord
that they belong to. Thus, an
iterator over line records can be obtained from the function record.
Example: c184 7 59 4
Fields
address: u64
The start address for this line relative to the image base (load address).
size: u64
The size of the code covered by this line record.
line: u64
The line number (zero means no line number).
file_id: u64
Identifier of the BreakpadFileRecord
specifying the file name.
Methods
impl BreakpadLineRecord
[src]
pub fn parse(data: &[u8]) -> Result<Self, BreakpadError>
[src]
Parses a line record from a single line.
pub fn filename<'d>(&self, file_map: &BreakpadFileMap<'d>) -> Option<&'d str>
[src]
Resolves the filename for this record in the file map.
Trait Implementations
impl PartialEq<BreakpadLineRecord> for BreakpadLineRecord
[src]
fn eq(&self, other: &BreakpadLineRecord) -> bool
[src]
fn ne(&self, other: &BreakpadLineRecord) -> bool
[src]
impl Default for BreakpadLineRecord
[src]
fn default() -> BreakpadLineRecord
[src]
impl Clone for BreakpadLineRecord
[src]
fn clone(&self) -> BreakpadLineRecord
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for BreakpadLineRecord
[src]
impl Debug for BreakpadLineRecord
[src]
Auto Trait Implementations
impl Send for BreakpadLineRecord
impl Sync for BreakpadLineRecord
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,