pub struct DataRow<'a> {
pub inputs: Vec<InputEntry<'a>>,
pub outputs: Vec<OutputResultEntry<'a>>,
pub line: usize,
}Expand description
A single row of input values, output values and expected values
If the test does not check the output at this line (which happens
in the middle of a clock cycle denoted by a C in the test source),
the outputs list will be empty.
Fields§
§inputs: Vec<InputEntry<'a>>List of input values
outputs: Vec<OutputResultEntry<'a>>List of output values together with the expected value
line: usizeLine number of the test source code
Implementations§
Source§impl<'a> DataRow<'a>
impl<'a> DataRow<'a>
Sourcepub fn failing_outputs(
&'a self,
) -> impl Iterator<Item = &'a OutputResultEntry<'a>>
pub fn failing_outputs( &'a self, ) -> impl Iterator<Item = &'a OutputResultEntry<'a>>
Returns an iterator over data entries that fail their tests
Trait Implementations§
impl<'a> Eq for DataRow<'a>
impl<'a> StructuralPartialEq for DataRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for DataRow<'a>
impl<'a> RefUnwindSafe for DataRow<'a>
impl<'a> Send for DataRow<'a>
impl<'a> Sync for DataRow<'a>
impl<'a> Unpin for DataRow<'a>
impl<'a> UnwindSafe for DataRow<'a>
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