#[repr(u8)]pub enum IcKind {
Get = 0,
Set = 1,
Global = 2,
Construct = 3,
}Expand description
What a cache site caches; decides how IcStore::prune reads an entry.
Variants§
Get = 0
GetField: shape, holder, slot, cell.
Set = 1
SetField: shape_before, shape_after, slot, cell.
Global = 2
GetGlobal, GetGlobalOrUndefined, SetGlobal: generation, slot,
flags.
Construct = 3
New: fn_shape, proto_slot, slots.
Implementations§
Trait Implementations§
impl Copy for IcKind
impl Eq for IcKind
impl StructuralPartialEq for IcKind
Auto Trait Implementations§
impl Freeze for IcKind
impl RefUnwindSafe for IcKind
impl Send for IcKind
impl Sync for IcKind
impl Unpin for IcKind
impl UnsafeUnpin for IcKind
impl UnwindSafe for IcKind
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