pub struct TargetSite {
pub kind: TargetKind,
pub operand: usize,
pub end: usize,
}Expand description
Where a static-target instruction’s operand sits: buf[operand..end]
holds the DefinitionId (or the linked layer’s replacement for it), and
end is the offset of the next instruction.
Fields§
§kind: TargetKind§operand: usize§end: usizeTrait Implementations§
Source§impl Clone for TargetSite
impl Clone for TargetSite
Source§fn clone(&self) -> TargetSite
fn clone(&self) -> TargetSite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetSite
Source§impl Debug for TargetSite
impl Debug for TargetSite
impl Eq for TargetSite
Source§impl PartialEq for TargetSite
impl PartialEq for TargetSite
impl StructuralPartialEq for TargetSite
Auto Trait Implementations§
impl Freeze for TargetSite
impl RefUnwindSafe for TargetSite
impl Send for TargetSite
impl Sync for TargetSite
impl Unpin for TargetSite
impl UnsafeUnpin for TargetSite
impl UnwindSafe for TargetSite
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