[]Struct symbolic::debuginfo::dwarf::gimli::constants::DwEhPe

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

pub fn format(self) -> DwEhPe

Get the pointer encoding's format.

pub fn application(self) -> DwEhPe

Get the pointer encoding's application.

pub fn is_absent(self) -> bool

Is this encoding the absent pointer encoding?

pub fn is_indirect(self) -> bool

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

Is this a known, valid pointer encoding?

impl DwEhPe

pub fn static_string(&self) -> Option<&'static str>

Trait Implementations

impl Clone for DwEhPe

impl Copy for DwEhPe

impl Debug for DwEhPe

impl Display for DwEhPe

impl Eq for DwEhPe

impl Hash for DwEhPe

impl Ord for DwEhPe

impl PartialEq<DwEhPe> for DwEhPe

impl PartialOrd<DwEhPe> for DwEhPe

impl StructuralEq for DwEhPe

impl StructuralPartialEq for DwEhPe

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.