pub struct ProgramSegmentType(/* private fields */);
Expand description
Defines the contents and meaning of individual program segments.
Implementations§
Source§impl ProgramSegmentType
impl ProgramSegmentType
Sourcepub const DynamicLink: Self
pub const DynamicLink: Self
Segment containing information for the dynamic linker.
Sourcepub const Interpreter: Self
pub const Interpreter: Self
Segment containing the path to the program’s interpreter (typically the dynamic loader).
Sourcepub const ProgramHeaderTable: Self
pub const ProgramHeaderTable: Self
Segment that contains the program header itself, including all segment headers.
Sourcepub const ThreadLocalStorage: Self
pub const ThreadLocalStorage: Self
Segment that contains a template for the thread-local storage area.
Sourcepub const MinOSDefined: Self
pub const MinOSDefined: Self
Beginning of range (inclusive) for OS-specific values
Sourcepub const MaxOSDefined: Self
pub const MaxOSDefined: Self
End of range (inclusive) for OS-specific values
Sourcepub const MinArchDefined: Self
pub const MinArchDefined: Self
Beginning of range (inclusive) for CPU architecture-specific values
Sourcepub const MaxArchDefined: Self
pub const MaxArchDefined: Self
End of range (inclusive) for CPU architecture-specific values
Trait Implementations§
Source§impl CEnum<u32> for ProgramSegmentType
impl CEnum<u32> for ProgramSegmentType
Source§impl Clone for ProgramSegmentType
impl Clone for ProgramSegmentType
Source§fn clone(&self) -> ProgramSegmentType
fn clone(&self) -> ProgramSegmentType
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 moreSource§impl Debug for ProgramSegmentType
impl Debug for ProgramSegmentType
Source§impl Default for ProgramSegmentType
impl Default for ProgramSegmentType
Source§fn default() -> ProgramSegmentType
fn default() -> ProgramSegmentType
Returns the “default value” for a type. Read more
Source§impl From<ProgramSegmentType> for u32
impl From<ProgramSegmentType> for u32
Source§fn from(enum_value: ProgramSegmentType) -> Self
fn from(enum_value: ProgramSegmentType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ProgramSegmentType
impl From<u32> for ProgramSegmentType
Source§impl Hash for ProgramSegmentType
impl Hash for ProgramSegmentType
Source§impl Ord for ProgramSegmentType
impl Ord for ProgramSegmentType
Source§fn cmp(&self, other: &ProgramSegmentType) -> Ordering
fn cmp(&self, other: &ProgramSegmentType) -> 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 ProgramSegmentType
impl PartialEq for ProgramSegmentType
Source§impl PartialOrd for ProgramSegmentType
impl PartialOrd for ProgramSegmentType
impl Copy for ProgramSegmentType
impl Eq for ProgramSegmentType
impl StructuralPartialEq for ProgramSegmentType
Auto Trait Implementations§
impl Freeze for ProgramSegmentType
impl RefUnwindSafe for ProgramSegmentType
impl Send for ProgramSegmentType
impl Sync for ProgramSegmentType
impl Unpin for ProgramSegmentType
impl UnwindSafe for ProgramSegmentType
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