Enum gimli::CfaRule [−][src]
pub enum CfaRule<R: Reader> { RegisterAndOffset { register: u8, offset: i64, }, Expression(Expression<R>), }
The canonical frame address (CFA) recovery rules.
Variants
RegisterAndOffset
The CFA is given offset from the given register's value.
Fields of RegisterAndOffset
register: u8 | The register containing the base value. |
offset: i64 | The offset from the register's base value. |
Expression(Expression<R>)
The CFA is obtained by evaluating this Reader
as a DWARF expression
program.
Trait Implementations
impl<R: Clone + Reader> Clone for CfaRule<R>
[src]
impl<R: Clone + Reader> Clone for CfaRule<R>
fn clone(&self) -> CfaRule<R>
[src]
fn clone(&self) -> CfaRule<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<R: Debug + Reader> Debug for CfaRule<R>
[src]
impl<R: Debug + Reader> Debug for CfaRule<R>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: PartialEq + Reader> PartialEq for CfaRule<R>
[src]
impl<R: PartialEq + Reader> PartialEq for CfaRule<R>
fn eq(&self, other: &CfaRule<R>) -> bool
[src]
fn eq(&self, other: &CfaRule<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CfaRule<R>) -> bool
[src]
fn ne(&self, other: &CfaRule<R>) -> bool
This method tests for !=
.
impl<R: Eq + Reader> Eq for CfaRule<R>
[src]
impl<R: Eq + Reader> Eq for CfaRule<R>
impl<R: Reader> Default for CfaRule<R>
[src]
impl<R: Reader> Default for CfaRule<R>