pub enum IsotestContext {
Test,
Real,
}
Expand description
Which of the two contexts each isotest body will run under.
Variants§
Test
The “test” context, using a minimal test struct
Real
The “real” context, using the actual struct used in the rest of the code
Trait Implementations§
Source§impl Clone for IsotestContext
impl Clone for IsotestContext
Source§fn clone(&self) -> IsotestContext
fn clone(&self) -> IsotestContext
Returns a duplicate 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 IsotestContext
impl Debug for IsotestContext
Source§impl Hash for IsotestContext
impl Hash for IsotestContext
Source§impl Ord for IsotestContext
impl Ord for IsotestContext
Source§fn cmp(&self, other: &IsotestContext) -> Ordering
fn cmp(&self, other: &IsotestContext) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IsotestContext
impl PartialEq for IsotestContext
Source§impl PartialOrd for IsotestContext
impl PartialOrd for IsotestContext
impl Copy for IsotestContext
impl Eq for IsotestContext
impl StructuralPartialEq for IsotestContext
Auto Trait Implementations§
impl Freeze for IsotestContext
impl RefUnwindSafe for IsotestContext
impl Send for IsotestContext
impl Sync for IsotestContext
impl Unpin for IsotestContext
impl UnwindSafe for IsotestContext
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