Struct gimli::read::Expression [−][src]
pub struct Expression<R: Reader>(pub R);
The bytecode for a DWARF expression or location description.
Implementations
impl<R: Reader> Expression<R>
[src]
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: Clone + Reader> Clone for Expression<R>
[src]fn clone(&self) -> Expression<R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R: Debug + Reader> Debug for Expression<R>
[src]
impl<R: Debug + Reader> Debug for Expression<R>
[src]impl<R: Hash + Reader> Hash 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: PartialEq + Reader> PartialEq<Expression<R>> for Expression<R>
[src]fn eq(&self, other: &Expression<R>) -> bool
[src]
fn ne(&self, other: &Expression<R>) -> bool
[src]
impl<R: Copy + Reader> Copy for Expression<R>
[src]
impl<R: Eq + Reader> Eq 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.