Struct gimli::Expression[][src]

pub struct Expression<R: Reader>(pub R);

The bytecode for a DWARF expression or location description.

Methods

impl<R: Reader> Expression<R>
[src]

Create an evaluation for this expression.

The address_size and format are determined by the CompilationUnitHeader or TypeUnitHeader that this expression relates to.

Examples

use gimli::Expression;
let expression = gimli::Expression(bytecode);
let mut eval = expression.evaluation(unit.address_size(), unit.format());
let mut result = eval.evaluate().unwrap();

Trait Implementations

impl<R: Debug + Reader> Debug for Expression<R>
[src]

Formats the value using the given formatter. Read more

impl<R: Clone + Reader> Clone for Expression<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Copy + Reader> Copy for Expression<R>
[src]

impl<R: PartialEq + Reader> PartialEq for Expression<R>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<R: Eq + Reader> Eq for Expression<R>
[src]

impl<R: Hash + Reader> Hash for Expression<R>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<R> Send for Expression<R> where
    R: Send

impl<R> Sync for Expression<R> where
    R: Sync