pub struct StoreBufferAlloc {
    store_buffers: RefCell<RangeObjectMap<StoreBuffer>>,
}

Fields§

§store_buffers: RefCell<RangeObjectMap<StoreBuffer>>

Store buffer of each atomic object in this allocation

Implementations§

Checks if the range imperfectly overlaps with existing buffers Used to determine if mixed-size atomic accesses

When a non-atomic access happens on a location that has been atomically accessed before without data race, we can determine that the non-atomic access fully happens after all the prior atomic accesses so the location no longer needs to exhibit any weak memory behaviours until further atomic accesses.

Gets a store buffer associated with an atomic object in this allocation, or creates one with the specified initial value if no atomic object exists yet.

Gets a mutable store buffer associated with an atomic object in this allocation

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

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