Type Alias miri::borrow_tracker::GlobalState

source ·
pub type GlobalState = RefCell<GlobalStateInner>;
Expand description

We need interior mutable access to the global state.

Aliased Type§

struct GlobalState {
    borrow: Cell<isize>,
    value: UnsafeCell<GlobalStateInner>,
}

Fields§

§borrow: Cell<isize>§value: UnsafeCell<GlobalStateInner>

Trait Implementations§

source§

impl<T: VisitTags> VisitTags for RefCell<T>

source§

fn visit_tags(&self, visit: &mut dyn FnMut(BorTag))

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: 160 bytes