[−][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]
fn clone(&self) -> Expression<R>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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: 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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,