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]

pub fn static_string(&self) -> Option<&'static str>[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 Clone for DwEhPe[src]

impl Copy for DwEhPe[src]

impl Debug for DwEhPe[src]

impl Display for DwEhPe[src]

impl Eq for DwEhPe[src]

impl Hash for DwEhPe[src]

impl Ord for DwEhPe[src]

impl PartialEq<DwEhPe> for DwEhPe[src]

impl PartialOrd<DwEhPe> for DwEhPe[src]

impl StructuralEq for DwEhPe[src]

impl StructuralPartialEq for DwEhPe[src]

Auto Trait Implementations

impl Send for DwEhPe

impl Sync for DwEhPe

impl Unpin for DwEhPe

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> 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.