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 for BorrowTrackerMethod
impl PartialEq for BorrowTrackerMethod
impl Copy for BorrowTrackerMethod
impl Eq for BorrowTrackerMethod
impl StructuralPartialEq for BorrowTrackerMethod
Auto Trait Implementations§
impl Freeze for BorrowTrackerMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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