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 Clone for DwEhPe
[src]
impl Clone for DwEhPe
[src]fn clone(&self) -> DwEhPe
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialOrd<DwEhPe> for DwEhPe
[src]
impl PartialOrd<DwEhPe> for DwEhPe
[src]impl Copy for DwEhPe
[src]
impl Eq for DwEhPe
[src]
impl StructuralEq for DwEhPe
[src]
impl StructuralPartialEq for DwEhPe
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.