[−][src]Struct gimli::read::Expression
The bytecode for a DWARF expression or location description.
Implementations
impl<R: Reader> Expression<R>
[src][−]
pub fn evaluation(self, encoding: Encoding) -> Evaluation<R>
[src][−]
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();
pub fn operations(self, encoding: Encoding) -> OperationIter<R>
[src][−]
Return an iterator for the operations in the expression.
Trait Implementations
impl<R: Clone + Reader> Clone for Expression<R>
[src][+]
impl<R: Copy + Reader> Copy for Expression<R>
[src]
impl<R: Debug + Reader> Debug for Expression<R>
[src][+]
impl<R: Eq + Reader> Eq for Expression<R>
[src]
impl<R: Hash + Reader> Hash for Expression<R>
[src][+]
impl<R: PartialEq + Reader> PartialEq<Expression<R>> for Expression<R>
[src][+]
impl<R: Reader> StructuralEq for Expression<R>
[src]
impl<R: Reader> StructuralPartialEq for Expression<R>
[src]
Auto Trait Implementations
impl<R> Send for Expression<R> where
R: Send,
R: Send,
impl<R> Sync for Expression<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Expression<R> where
R: Unpin,
R: Unpin,
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,