Struct gimli::constants::DwEhPe [−][src]
pub struct DwEhPe(pub u8);
Pointer encoding used by .eh_frame
.
The four lower bits describe the format of the pointer, the upper four bits describe how the encoding should be applied.
Defined in http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/dwarfext.html
Implementations
impl DwEhPe
[src]
impl DwEhPe
[src]pub fn static_string(&self) -> Option<&'static str>
[src]
impl DwEhPe
[src]
impl DwEhPe
[src]pub fn format(self) -> DwEhPe
[src][−]
Get the pointer encoding’s format.
pub fn application(self) -> DwEhPe
[src][−]
Get the pointer encoding’s application.
pub fn is_absent(self) -> bool
[src][−]
Is this encoding the absent pointer encoding?
pub fn is_indirect(self) -> bool
[src][−]
Is this coding indirect? If so, its encoded value is the address of the real pointer result, not the pointer result itself.
pub fn is_valid_encoding(self) -> bool
[src][−]
Is this a known, valid pointer encoding?
Trait Implementations
impl PartialOrd<DwEhPe> for DwEhPe
[src]
impl PartialOrd<DwEhPe> for DwEhPe
[src]fn partial_cmp(&self, other: &DwEhPe) -> Option<Ordering>
[src][−]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn ge(&self, other: &Rhs) -> bool