pub struct MutantLocation {
pub mutant_id: String,
pub file: String,
pub line: u32,
pub column: u32,
pub span: (u32, u32),
pub operator: String,
pub function: Option<String>,
pub function_line: Option<u32>,
pub rank: Option<u32>,
}Expand description
The source position of a mutant. No source text.
Fields§
§mutant_id: StringThe stable mutant id.
file: StringThe root-relative path, with forward slashes.
line: u32The 1-based line.
column: u32The 1-based column.
span: (u32, u32)The byte span in the original file.
operator: StringThe operator name, kebab-case.
function: Option<String>The name of the enclosing function.
function_line: Option<u32>The 1-based first line of the enclosing function.
rank: Option<u32>The 1-based execution rank of a planned mutant.
Trait Implementations§
Source§impl Clone for MutantLocation
impl Clone for MutantLocation
Source§impl Debug for MutantLocation
impl Debug for MutantLocation
impl Eq for MutantLocation
Source§impl PartialEq for MutantLocation
impl PartialEq for MutantLocation
Source§impl Serialize for MutantLocation
impl Serialize for MutantLocation
impl StructuralPartialEq for MutantLocation
Auto Trait Implementations§
impl Freeze for MutantLocation
impl RefUnwindSafe for MutantLocation
impl Send for MutantLocation
impl Sync for MutantLocation
impl Unpin for MutantLocation
impl UnsafeUnpin for MutantLocation
impl UnwindSafe for MutantLocation
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.