pub struct Mutant {
pub file: PathBuf,
pub line_number: usize,
pub original: String,
pub mutated: String,
pub operator: MutationOperator,
}Expand description
A single mutation applied to a source line.
Fields§
§file: PathBufFile path relative to project root.
line_number: usize1-based line number in the file.
original: StringThe original line content.
mutated: StringThe mutated line content.
operator: MutationOperatorWhich operator was applied.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mutant
impl RefUnwindSafe for Mutant
impl Send for Mutant
impl Sync for Mutant
impl Unpin for Mutant
impl UnsafeUnpin for Mutant
impl UnwindSafe for Mutant
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