pub enum SegmentType {
None,
Load,
Dynamic,
Interpreter,
Note,
ShLib,
Phdr,
Tls,
Custom(u32),
}
Expand description
p_type. A segment type (type of a program header). Most segments will probably have type SegmentType::Load
Variants§
None
Program header table entry unused.
Load
Loadable segment.
Dynamic
Dynamic linking information.
Interpreter
Interpreter information.
Note
Auxiliary information.
ShLib
Reserved.
Phdr
Segment containing program header table itself.
Tls
Thread-Local Storage template.
Custom(u32)
Custom value
Trait Implementations§
Source§impl Clone for SegmentType
impl Clone for SegmentType
Source§fn clone(&self) -> SegmentType
fn clone(&self) -> SegmentType
Returns a duplicate 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 moreSource§impl Debug for SegmentType
impl Debug for SegmentType
Source§impl Hash for SegmentType
impl Hash for SegmentType
Source§impl Ord for SegmentType
impl Ord for SegmentType
Source§fn cmp(&self, other: &SegmentType) -> Ordering
fn cmp(&self, other: &SegmentType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SegmentType
impl PartialEq for SegmentType
Source§impl PartialOrd for SegmentType
impl PartialOrd for SegmentType
impl Copy for SegmentType
impl Eq for SegmentType
impl StructuralPartialEq for SegmentType
Auto Trait Implementations§
impl Freeze for SegmentType
impl RefUnwindSafe for SegmentType
impl Send for SegmentType
impl Sync for SegmentType
impl Unpin for SegmentType
impl UnwindSafe for SegmentType
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