pub struct InlineCacheEntry {
pub call_ip: usize,
pub hit_count: u64,
pub last_target: Option<u32>,
pub is_monomorphic: bool,
}Expand description
A simple inline cache entry for a call site.
Fields§
§call_ip: usizeOpcode index of the call site.
hit_count: u64Number of times this call site has been observed.
last_target: Option<u32>The most recently observed target function position.
is_monomorphic: boolWhether this entry is considered monomorphic.
Implementations§
Trait Implementations§
Source§impl Clone for InlineCacheEntry
impl Clone for InlineCacheEntry
Source§fn clone(&self) -> InlineCacheEntry
fn clone(&self) -> InlineCacheEntry
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 moreAuto Trait Implementations§
impl Freeze for InlineCacheEntry
impl RefUnwindSafe for InlineCacheEntry
impl Send for InlineCacheEntry
impl Sync for InlineCacheEntry
impl Unpin for InlineCacheEntry
impl UnsafeUnpin for InlineCacheEntry
impl UnwindSafe for InlineCacheEntry
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