Enum lief::elf::relocation::Encoding
pub enum Encoding {
REL,
RELA,
RELR,
ANDROID_SLEB,
UNKNOWN(u32),
}
Variants§
REL
The relocation is using the regular Elf_Rel structure
RELA
The relocation is using the regular Elf_Rela structure
RELR
The relocation is using the relative relocation format
ANDROID_SLEB
The relocation is using the packed Android-SLEB128 format
UNKNOWN(u32)
Implementations§
§impl Encoding
impl Encoding
pub fn from_value(value: u32) -> Self
Trait Implementations§
§impl Ord for Encoding
impl Ord for Encoding
§impl PartialOrd<Encoding> for Encoding
impl PartialOrd<Encoding> for Encoding
§fn partial_cmp(&self, other: &Encoding) -> Option<Ordering>
fn partial_cmp(&self, other: &Encoding) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Encoding
impl Eq for Encoding
impl StructuralEq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more