pub struct MachCallSiteItem<'a> {
pub ret_addr: CodeOffset,
pub frame_offset: Option<u32>,
pub exception_handlers: &'a [MachExceptionHandler],
}Expand description
A view onto a call site record resulting from a compilation, returned during iteration.
Fields§
§ret_addr: CodeOffsetThe offset of the call’s return address, relative to the start of the buffer.
frame_offset: Option<u32>The offset from the FP at this callsite down to the SP when the call occurs, if known.
See MachCallSite::frame_offset for more.
exception_handlers: &'a [MachExceptionHandler]Exception handlers at this site.
Trait Implementations§
Source§impl<'a> Clone for MachCallSiteItem<'a>
impl<'a> Clone for MachCallSiteItem<'a>
Source§fn clone(&self) -> MachCallSiteItem<'a>
fn clone(&self) -> MachCallSiteItem<'a>
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 moreSource§impl<'a> Debug for MachCallSiteItem<'a>
impl<'a> Debug for MachCallSiteItem<'a>
Source§impl<'a> PartialEq for MachCallSiteItem<'a>
impl<'a> PartialEq for MachCallSiteItem<'a>
impl<'a> StructuralPartialEq for MachCallSiteItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for MachCallSiteItem<'a>
impl<'a> RefUnwindSafe for MachCallSiteItem<'a>
impl<'a> Send for MachCallSiteItem<'a>
impl<'a> Sync for MachCallSiteItem<'a>
impl<'a> Unpin for MachCallSiteItem<'a>
impl<'a> UnsafeUnpin for MachCallSiteItem<'a>
impl<'a> UnwindSafe for MachCallSiteItem<'a>
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