Struct gapi_grpc::google::devtools::resultstore::v2::LineCoverage[][src]

pub struct LineCoverage {
    pub instrumented_lines: Vec<u8>,
    pub executed_lines: Vec<u8>,
}

Describes line coverage for a file

Fields

instrumented_lines: Vec<u8>

Which source lines in the file represent the start of a statement that was instrumented to detect whether it was executed by the test.

This is a bitfield where i-th bit corresponds to the i-th line. Divide line number by 8 to get index into byte array. Mod line number by 8 to get bit number (0 = LSB, 7 = MSB).

A 1 denotes the line was instrumented. A 0 denotes the line was not instrumented.

executed_lines: Vec<u8>

Which of the instrumented source lines were executed by the test. Should include lines that were not instrumented.

This is a bitfield where i-th bit corresponds to the i-th line. Divide line number by 8 to get index into byte array. Mod line number by 8 to get bit number (0 = LSB, 7 = MSB).

A 1 denotes the line was executed. A 0 denotes the line was not executed.

Trait Implementations

impl Clone for LineCoverage[src]

impl Debug for LineCoverage[src]

impl Default for LineCoverage[src]

impl Message for LineCoverage[src]

impl PartialEq<LineCoverage> for LineCoverage[src]

impl StructuralPartialEq for LineCoverage[src]

Auto Trait Implementations

impl RefUnwindSafe for LineCoverage

impl Send for LineCoverage

impl Sync for LineCoverage

impl Unpin for LineCoverage

impl UnwindSafe for LineCoverage

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]