pub struct TestRow {
pub file: String,
pub test_defs: Vec<String>,
pub lines: Vec<usize>,
pub ref_count: usize,
pub heuristic: bool,
}Expand description
One row of a tests model: a test file, the test-carrying test_defs in
it, the lines at which it references the symbol, the ref_count, and
whether the reference was guessed (heuristic).
Fields§
§file: StringThe file value.
test_defs: Vec<String>The test defs value.
lines: Vec<usize>The lines value.
ref_count: usizeThe ref count value.
heuristic: boolThe heuristic value.
Trait Implementations§
impl StructuralPartialEq for TestRow
Auto Trait Implementations§
impl Freeze for TestRow
impl RefUnwindSafe for TestRow
impl Send for TestRow
impl Sync for TestRow
impl Unpin for TestRow
impl UnsafeUnpin for TestRow
impl UnwindSafe for TestRow
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,
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