pub struct TestCase<I, O>{
pub input_file: I,
pub expected_output_file: O,
}Fields§
§input_file: I§expected_output_file: OAuto Trait Implementations§
impl<I, O> Freeze for TestCase<I, O>
impl<I, O> RefUnwindSafe for TestCase<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<I, O> Send for TestCase<I, O>
impl<I, O> Sync for TestCase<I, O>
impl<I, O> Unpin for TestCase<I, O>
impl<I, O> UnwindSafe for TestCase<I, O>where
I: UnwindSafe,
O: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more