pub struct IcStore { /* private fields */ }Expand description
Every cache entry of every published unit: unit u’s entries are
entries[u.ic_base..u.ic_base + u.ic_count].
Implementations§
Source§impl IcStore
impl IcStore
pub fn entry(&self, index: usize) -> IcEntry
pub fn kind(&self, index: usize) -> IcKind
pub fn len(&self) -> usize
Sourcepub fn bytes(&self) -> usize
pub fn bytes(&self) -> usize
Bytes the entries, their kinds, the free lists and the polymorphic and megamorphic tables reserve.
pub fn is_empty(&self) -> bool
Sourcepub fn site_states(&self) -> (usize, usize, usize)
pub fn site_states(&self) -> (usize, usize, usize)
Sites by state: monomorphic, polymorphic, megamorphic.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IcStore
impl RefUnwindSafe for IcStore
impl Send for IcStore
impl Sync for IcStore
impl Unpin for IcStore
impl UnsafeUnpin for IcStore
impl UnwindSafe for IcStore
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