pub struct RelocationEntry {
pub instruction_idx: usize,
pub relocation: Relocation,
}
Fields§
§instruction_idx: usize
The index of the casm instruction that needs to be relocated.
relocation: Relocation
The relocation the needs to be applied.
Trait Implementations§
source§impl Debug for RelocationEntry
impl Debug for RelocationEntry
source§impl PartialEq<RelocationEntry> for RelocationEntry
impl PartialEq<RelocationEntry> for RelocationEntry
source§fn eq(&self, other: &RelocationEntry) -> bool
fn eq(&self, other: &RelocationEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RelocationEntry
impl StructuralEq for RelocationEntry
impl StructuralPartialEq for RelocationEntry
Auto Trait Implementations§
impl RefUnwindSafe for RelocationEntry
impl Send for RelocationEntry
impl Sync for RelocationEntry
impl Unpin for RelocationEntry
impl UnwindSafe for RelocationEntry
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.