pub struct MutationInspectCode {
pub original: String,
pub replacement: String,
pub original_lines: String,
pub mutated_lines: String,
}Expand description
The code of one mutant, from the current file.
Fields§
§original: StringThe original text of the span.
replacement: StringThe text that replaces the span.
original_lines: StringThe source lines that contain the span, before the mutation.
mutated_lines: StringThe same lines with the replacement applied.
Trait Implementations§
Source§impl Clone for MutationInspectCode
impl Clone for MutationInspectCode
Source§impl Debug for MutationInspectCode
impl Debug for MutationInspectCode
impl Eq for MutationInspectCode
Source§impl PartialEq for MutationInspectCode
impl PartialEq for MutationInspectCode
Source§impl Serialize for MutationInspectCode
impl Serialize for MutationInspectCode
impl StructuralPartialEq for MutationInspectCode
Auto Trait Implementations§
impl Freeze for MutationInspectCode
impl RefUnwindSafe for MutationInspectCode
impl Send for MutationInspectCode
impl Sync for MutationInspectCode
impl Unpin for MutationInspectCode
impl UnsafeUnpin for MutationInspectCode
impl UnwindSafe for MutationInspectCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.