Struct cranelift_codegen::MachCallSite
source · pub struct MachCallSite {
pub ret_addr: CodeOffset,
pub opcode: Opcode,
}
Expand description
A call site record resulting from a compilation.
Fields§
§ret_addr: CodeOffset
The offset of the call’s return address, relative to the containing section.
opcode: Opcode
The call’s opcode.
Trait Implementations§
source§impl Clone for MachCallSite
impl Clone for MachCallSite
source§fn clone(&self) -> MachCallSite
fn clone(&self) -> MachCallSite
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 MachCallSite
impl Debug for MachCallSite
source§impl PartialEq for MachCallSite
impl PartialEq for MachCallSite
source§fn eq(&self, other: &MachCallSite) -> bool
fn eq(&self, other: &MachCallSite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MachCallSite
Auto Trait Implementations§
impl Freeze for MachCallSite
impl RefUnwindSafe for MachCallSite
impl Send for MachCallSite
impl Sync for MachCallSite
impl Unpin for MachCallSite
impl UnwindSafe for MachCallSite
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)