pub struct LoadedSegment {
pub file_offset: u64,
pub memory_offset: usize,
pub memory_size: usize,
}
Expand description
A segment of a shared object that’s loaded into memory.
Fields§
§file_offset: u64
Offset of the segment in the source file.
memory_offset: usize
Offset to the SharedObject
’s base_address
.
memory_size: usize
Size of the segment in memory.
Trait Implementations§
Source§impl Clone for LoadedSegment
impl Clone for LoadedSegment
Source§fn clone(&self) -> LoadedSegment
fn clone(&self) -> LoadedSegment
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 LoadedSegment
impl Debug for LoadedSegment
Source§impl Ord for LoadedSegment
impl Ord for LoadedSegment
Source§fn cmp(&self, other: &LoadedSegment) -> Ordering
fn cmp(&self, other: &LoadedSegment) -> 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 LoadedSegment
impl PartialEq for LoadedSegment
Source§impl PartialOrd for LoadedSegment
impl PartialOrd for LoadedSegment
impl Eq for LoadedSegment
impl StructuralPartialEq for LoadedSegment
Auto Trait Implementations§
impl Freeze for LoadedSegment
impl RefUnwindSafe for LoadedSegment
impl Send for LoadedSegment
impl Sync for LoadedSegment
impl Unpin for LoadedSegment
impl UnwindSafe for LoadedSegment
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