pub struct ResolvedPatch {
pub block: BlockId,
pub at: usize,
pub to: usize,
pub kind: BranchRelocKind,
}Expand description
Fully resolved relocation patch for a specific block.
Fields§
§block: BlockIdBlock that owns the instruction to patch.
at: usizeInstruction word index to patch.
to: usizeTarget instruction word index inside block.
kind: BranchRelocKindRelocation kind.
Trait Implementations§
Source§impl Clone for ResolvedPatch
impl Clone for ResolvedPatch
Source§fn clone(&self) -> ResolvedPatch
fn clone(&self) -> ResolvedPatch
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 ResolvedPatch
impl Debug for ResolvedPatch
Source§impl PartialEq for ResolvedPatch
impl PartialEq for ResolvedPatch
impl Copy for ResolvedPatch
impl Eq for ResolvedPatch
impl StructuralPartialEq for ResolvedPatch
Auto Trait Implementations§
impl Freeze for ResolvedPatch
impl RefUnwindSafe for ResolvedPatch
impl Send for ResolvedPatch
impl Sync for ResolvedPatch
impl Unpin for ResolvedPatch
impl UnsafeUnpin for ResolvedPatch
impl UnwindSafe for ResolvedPatch
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