[−][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.
Implementations
impl BreakpadLineRecord
[src]
pub fn parse(data: &[u8]) -> Result<BreakpadLineRecord, BreakpadError>
[src]
Parses a line record from a single line.
pub fn filename(&self, file_map: &BTreeMap<u64, &'d str>) -> Option<&'d str>
[src]
Resolves the filename for this record in the file map.
Trait Implementations
impl Clone for BreakpadLineRecord
[src]
pub fn clone(&self) -> BreakpadLineRecord
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BreakpadLineRecord
[src]
impl Default for BreakpadLineRecord
[src]
pub fn default() -> BreakpadLineRecord
[src]
impl Eq for BreakpadLineRecord
[src]
impl PartialEq<BreakpadLineRecord> for BreakpadLineRecord
[src]
pub fn eq(&self, other: &BreakpadLineRecord) -> bool
[src]
pub fn ne(&self, other: &BreakpadLineRecord) -> bool
[src]
impl StructuralEq for BreakpadLineRecord
[src]
impl StructuralPartialEq for BreakpadLineRecord
[src]
Auto Trait Implementations
impl RefUnwindSafe for BreakpadLineRecord
[src]
impl Send for BreakpadLineRecord
[src]
impl Sync for BreakpadLineRecord
[src]
impl Unpin for BreakpadLineRecord
[src]
impl UnwindSafe for BreakpadLineRecord
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,