Enum elfloader::arch::RelocationType
source · [−]pub enum RelocationType {
x86(RelocationTypes),
x86_64(RelocationTypes),
}
Variants
x86(RelocationTypes)
x86_64(RelocationTypes)
Implementations
sourceimpl RelocationType
impl RelocationType
sourcepub fn from(
machine: Machine,
type_num: u32
) -> Result<RelocationType, ElfLoaderErr>
pub fn from(
machine: Machine,
type_num: u32
) -> Result<RelocationType, ElfLoaderErr>
Match an architecture and value to a Relocation type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RelocationType
impl Send for RelocationType
impl Sync for RelocationType
impl Unpin for RelocationType
impl UnwindSafe for RelocationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more