[][src]Struct cargo_tarpaulin::traces::Trace

pub struct Trace {
    pub line: u64,
    pub address: Option<u64>,
    pub length: usize,
    pub stats: CoverageStat,
}

Fields

line: u64

Line the trace is on in the file

address: Option<u64>

Optional address showing location in the test artefact

length: usize

Length of the instruction (useful to get entire condition/branch)

stats: CoverageStat

Coverage stats

Trait Implementations

impl Clone for Trace[src]

impl Eq for Trace[src]

impl Ord for Trace[src]

Implemented to allow Traces to be sorted by line number

impl PartialEq<Trace> for Trace[src]

impl PartialOrd<Trace> for Trace[src]

impl Debug for Trace[src]

impl Hash for Trace[src]

impl StructuralPartialEq for Trace[src]

impl StructuralEq for Trace[src]

impl Serialize for Trace[src]

impl<'de> Deserialize<'de> for Trace[src]

Auto Trait Implementations

impl Send for Trace

impl Sync for Trace

impl Unpin for Trace

impl UnwindSafe for Trace

impl RefUnwindSafe for Trace

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]