pub struct SurvivingMutant {
pub file: String,
pub line: u32,
pub description: String,
pub function: Option<String>,
}Expand description
A surviving mutant — one the test suite did NOT catch.
Fields§
§file: StringSource file the mutation was applied to.
line: u32Line number (1-indexed).
description: StringDescription of the mutation (e.g. “replace + with -”).
function: Option<String>Function the mutation lived in, when the underlying tool exposed it.
Trait Implementations§
Source§impl Clone for SurvivingMutant
impl Clone for SurvivingMutant
Source§fn clone(&self) -> SurvivingMutant
fn clone(&self) -> SurvivingMutant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurvivingMutant
impl Debug for SurvivingMutant
Source§impl<'de> Deserialize<'de> for SurvivingMutant
impl<'de> Deserialize<'de> for SurvivingMutant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SurvivingMutant
impl RefUnwindSafe for SurvivingMutant
impl Send for SurvivingMutant
impl Sync for SurvivingMutant
impl Unpin for SurvivingMutant
impl UnsafeUnpin for SurvivingMutant
impl UnwindSafe for SurvivingMutant
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