[−][src]Struct gimli::constants::DwEhPe
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
Methods
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 Copy for DwEhPe
[src]
impl Display for DwEhPe
[src]
impl Debug for DwEhPe
[src]
impl PartialEq<DwEhPe> for DwEhPe
[src]
impl Eq for DwEhPe
[src]
impl Ord for DwEhPe
[src]
fn cmp(&self, other: &DwEhPe) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<DwEhPe> for DwEhPe
[src]
fn partial_cmp(&self, other: &DwEhPe) -> Option<Ordering>
[src]
fn lt(&self, other: &DwEhPe) -> bool
[src]
fn le(&self, other: &DwEhPe) -> bool
[src]
fn gt(&self, other: &DwEhPe) -> bool
[src]
fn ge(&self, other: &DwEhPe) -> bool
[src]
impl Hash for DwEhPe
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for DwEhPe
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,