[−]Struct symbolic::debuginfo::dwarf::gimli::read::Expression
The bytecode for a DWARF expression or location description.
Implementations
impl<R> Expression<R> where
R: Reader,
R: Reader,
pub fn evaluation(self, encoding: Encoding) -> Evaluation<R>
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>
Return an iterator for the operations in the expression.
Trait Implementations
impl<R> Clone for Expression<R> where
R: Reader + Clone,
R: Reader + Clone,
pub fn clone(&self) -> Expression<R>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R> Copy for Expression<R> where
R: Reader + Copy,
R: Reader + Copy,
impl<R> Debug for Expression<R> where
R: Reader + Debug,
R: Reader + Debug,
impl<R> Eq for Expression<R> where
R: Reader + Eq,
R: Reader + Eq,
impl<R> Hash for Expression<R> where
R: Reader + Hash,
R: Reader + Hash,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<R> PartialEq<Expression<R>> for Expression<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
pub fn eq(&self, other: &Expression<R>) -> bool
pub fn ne(&self, other: &Expression<R>) -> bool
impl<R> StructuralEq for Expression<R> where
R: Reader,
R: Reader,
impl<R> StructuralPartialEq for Expression<R> where
R: Reader,
R: Reader,
Auto Trait Implementations
impl<R> RefUnwindSafe for Expression<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> Send for Expression<R> where
R: Send,
[src]
R: Send,
impl<R> Sync for Expression<R> where
R: Sync,
[src]
R: Sync,
impl<R> Unpin for Expression<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for Expression<R> where
R: UnwindSafe,
[src]
R: UnwindSafe,
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,