Struct inanis::testing::testset::TestContext
source · pub struct TestContext {
positions: Vec<TestPosition>,
}
Fields§
§positions: Vec<TestPosition>
Implementations§
source§impl TestContext
impl TestContext
sourcepub fn new(positions: Vec<TestPosition>) -> Self
pub fn new(positions: Vec<TestPosition>) -> Self
Constructs a new instance of TestContext with stored positions
.
Auto Trait Implementations§
impl RefUnwindSafe for TestContext
impl Send for TestContext
impl Sync for TestContext
impl Unpin for TestContext
impl UnwindSafe for TestContext
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