Enum miri::BorrowTrackerMethod
source · pub enum BorrowTrackerMethod {
StackedBorrows,
TreeBorrows,
}
Expand description
Which borrow tracking method to use
Variants§
StackedBorrows
Stacked Borrows, as implemented in borrow_tracker/stacked_borrows
TreeBorrows
Tree borrows, as implemented in borrow_tracker/tree_borrows
Implementations§
source§impl BorrowTrackerMethod
impl BorrowTrackerMethod
pub fn instantiate_global_state( self, config: &MiriConfig ) -> RefCell<GlobalStateInner>
Trait Implementations§
source§impl Clone for BorrowTrackerMethod
impl Clone for BorrowTrackerMethod
source§fn clone(&self) -> BorrowTrackerMethod
fn clone(&self) -> BorrowTrackerMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BorrowTrackerMethod
impl Debug for BorrowTrackerMethod
source§impl PartialEq<BorrowTrackerMethod> for BorrowTrackerMethod
impl PartialEq<BorrowTrackerMethod> for BorrowTrackerMethod
source§fn eq(&self, other: &BorrowTrackerMethod) -> bool
fn eq(&self, other: &BorrowTrackerMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BorrowTrackerMethod
impl Eq for BorrowTrackerMethod
impl StructuralEq for BorrowTrackerMethod
impl StructuralPartialEq for BorrowTrackerMethod
Auto Trait Implementations§
impl RefUnwindSafe for BorrowTrackerMethod
impl Send for BorrowTrackerMethod
impl Sync for BorrowTrackerMethod
impl Unpin for BorrowTrackerMethod
impl UnwindSafe for BorrowTrackerMethod
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: 1 byte
Size for each variant:
StackedBorrows
: 0 bytesTreeBorrows
: 0 bytes