Enum lief::elf::SecInsertPos
pub enum SecInsertPos {
AUTO,
POST_SEGMENT,
POST_SECTION,
UNKNOWN(u32),
}Expand description
Strategy for inserting a new section
Variants§
AUTO
Let LIEF choose the best strategy
POST_SEGMENT
Insert after the last segment offset, before debug info
POST_SECTION
Insert after the last section offset, at binary end
UNKNOWN(u32)
Trait Implementations§
§impl Clone for SecInsertPos
impl Clone for SecInsertPos
§fn clone(&self) -> SecInsertPos
fn clone(&self) -> SecInsertPos
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SecInsertPos
impl Debug for SecInsertPos
§impl From<SecInsertPos> for u32
impl From<SecInsertPos> for u32
§fn from(value: SecInsertPos) -> u32
fn from(value: SecInsertPos) -> u32
Converts to this type from the input type.
§impl From<u32> for SecInsertPos
impl From<u32> for SecInsertPos
§impl Hash for SecInsertPos
impl Hash for SecInsertPos
§impl PartialEq<SecInsertPos> for SecInsertPos
impl PartialEq<SecInsertPos> for SecInsertPos
§fn eq(&self, other: &SecInsertPos) -> bool
fn eq(&self, other: &SecInsertPos) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SecInsertPos
impl Eq for SecInsertPos
impl StructuralEq for SecInsertPos
impl StructuralPartialEq for SecInsertPos
Auto Trait Implementations§
impl RefUnwindSafe for SecInsertPos
impl Send for SecInsertPos
impl Sync for SecInsertPos
impl Unpin for SecInsertPos
impl UnwindSafe for SecInsertPos
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