Struct gimli::read::Expression [−][src]
pub struct Expression<R: Reader>(pub R);
Expand description
The bytecode for a DWARF expression or location description.
Tuple Fields
0: R
Implementations
Create an evaluation for this expression.
The encoding
is 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.encoding());
let mut result = eval.evaluate().unwrap();
Return an iterator for the operations in the expression.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<R> RefUnwindSafe for Expression<R> where
R: RefUnwindSafe,
impl<R> Send for Expression<R> where
R: Send,
impl<R> Sync for Expression<R> where
R: Sync,
impl<R> Unpin for Expression<R> where
R: Unpin,
impl<R> UnwindSafe for Expression<R> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more