pub struct FrameState {
local_clocks: RefCell<FxHashMap<Local, LocalClocks>>,
}
Expand description
Vector clock state for a stack frame (tracking the local variables that do not have an allocation yet).
Fields§
§local_clocks: RefCell<FxHashMap<Local, LocalClocks>>
Implementations§
Source§impl FrameState
impl FrameState
pub fn local_write( &self, local: Local, storage_live: bool, machine: &MiriMachine<'_>, )
pub fn local_read(&self, local: Local, machine: &MiriMachine<'_>)
pub fn local_moved_to_memory( &self, local: Local, alloc: &mut VClockAlloc, machine: &MiriMachine<'_>, )
Trait Implementations§
Source§impl Debug for FrameState
impl Debug for FrameState
Source§impl Default for FrameState
impl Default for FrameState
Source§fn default() -> FrameState
fn default() -> FrameState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FrameState
impl !RefUnwindSafe for FrameState
impl Send for FrameState
impl !Sync for FrameState
impl Unpin for FrameState
impl UnwindSafe for FrameState
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes