Struct dynlink::engines::LoadDirective
source · pub struct LoadDirective {
pub load_flags: LoadFlags,
pub vaddr: usize,
pub memsz: usize,
pub offset: usize,
pub align: usize,
pub filesz: usize,
}
Expand description
A single load directive, matching closely with an ELF program header.
Fields§
§load_flags: LoadFlags
§vaddr: usize
§memsz: usize
§offset: usize
§align: usize
§filesz: usize
Trait Implementations§
source§impl Clone for LoadDirective
impl Clone for LoadDirective
source§fn clone(&self) -> LoadDirective
fn clone(&self) -> LoadDirective
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 LoadDirective
impl Debug for LoadDirective
source§impl Default for LoadDirective
impl Default for LoadDirective
source§fn default() -> LoadDirective
fn default() -> LoadDirective
Returns the “default value” for a type. Read more
source§impl Hash for LoadDirective
impl Hash for LoadDirective
source§impl Ord for LoadDirective
impl Ord for LoadDirective
source§fn cmp(&self, other: &LoadDirective) -> Ordering
fn cmp(&self, other: &LoadDirective) -> 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<LoadDirective> for LoadDirective
impl PartialEq<LoadDirective> for LoadDirective
source§fn eq(&self, other: &LoadDirective) -> bool
fn eq(&self, other: &LoadDirective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LoadDirective> for LoadDirective
impl PartialOrd<LoadDirective> for LoadDirective
source§fn partial_cmp(&self, other: &LoadDirective) -> Option<Ordering>
fn partial_cmp(&self, other: &LoadDirective) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LoadDirective
impl Eq for LoadDirective
impl StructuralEq for LoadDirective
impl StructuralPartialEq for LoadDirective
Auto Trait Implementations§
impl Crossing for LoadDirective
impl ObjSafe for LoadDirective
impl RefUnwindSafe for LoadDirective
impl Send for LoadDirective
impl Sync for LoadDirective
impl Unpin for LoadDirective
impl UnwindSafe for LoadDirective
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.