[][src]Struct symbolic_debuginfo::breakpad::BreakpadFuncRecord

pub struct BreakpadFuncRecord<'d> {
    pub multiple: bool,
    pub address: u64,
    pub size: u64,
    pub parameter_size: u64,
    pub name: &'d str,
    // some fields omitted
}

A function record including line information.

Example: FUNC m c184 30 0 nsQueryInterfaceWithError::operator()(nsID const&, void**) const

Fields

multiple: bool

Whether this function was referenced multiple times.

address: u64

The start address of this function relative to the image base (load address).

size: u64

The size of the code covered by this function's line records.

parameter_size: u64

The size of the parameters on the runtime stack.

name: &'d str

The demangled function name.

Methods

impl<'d> BreakpadFuncRecord<'d>[src]

pub fn parse(data: &'d [u8], lines: Lines<'d>) -> Result<Self, BreakpadError>[src]

Parses a function record from a set of lines.

The first line must contain the function record itself. The lines iterator may contain line records for this function, which are read until another record isencountered or the file ends.

Important traits for BreakpadLineRecords<'d>
pub fn lines(&self) -> BreakpadLineRecords<'d>[src]

Returns an iterator over line records associated to this function.

Trait Implementations

impl<'_> PartialEq<BreakpadFuncRecord<'_>> for BreakpadFuncRecord<'_>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'d> Default for BreakpadFuncRecord<'d>[src]

impl<'d> Clone for BreakpadFuncRecord<'d>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'_> Eq for BreakpadFuncRecord<'_>[src]

impl<'_> Debug for BreakpadFuncRecord<'_>[src]

Auto Trait Implementations

impl<'d> Send for BreakpadFuncRecord<'d>

impl<'d> Sync for BreakpadFuncRecord<'d>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T