Enum lief::pe::DynamicRelocation
pub enum DynamicRelocation<'a> {
V1(DynamicRelocationV1<'a>),
V2(DynamicRelocationV2<'a>),
}
Expand description
This enum wraps the different versions of dynamic relocations:
IMAGE_DYNAMIC_RELOCATION32
IMAGE_DYNAMIC_RELOCATION32_V2
IMAGE_DYNAMIC_RELOCATION64
IMAGE_DYNAMIC_RELOCATION64_V2
Variants§
V1(DynamicRelocationV1<'a>)
Either IMAGE_DYNAMIC_RELOCATION32
or IMAGE_DYNAMIC_RELOCATION64
V2(DynamicRelocationV2<'a>)
Either IMAGE_DYNAMIC_RELOCATION32
or IMAGE_DYNAMIC_RELOCATION64_V2
Trait Implementations§
§impl AsDynamicRelocation for DynamicRelocation<'_>
impl AsDynamicRelocation for DynamicRelocation<'_>
§impl<'a> Debug for DynamicRelocation<'a>
impl<'a> Debug for DynamicRelocation<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DynamicRelocation<'a>
impl<'a> !Send for DynamicRelocation<'a>
impl<'a> !Sync for DynamicRelocation<'a>
impl<'a> Unpin for DynamicRelocation<'a>
impl<'a> !UnwindSafe for DynamicRelocation<'a>
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