pub struct CoverageReport<'a> {
pub version: &'a str,
pub export_type: &'a str,
pub data: Vec<ExportObject<'a>>,
}
Fields§
§version: &'a str
The version of the exported data.
export_type: &'a str
The type of exported data. Must be set to llvm.coverage.json.export.
data: Vec<ExportObject<'a>>
This is the actual coverage data. According to the LLVM source code this is a “homogeneous array of one or more export objects”, however, in practice, it contains only one element.
Implementations§
Source§impl<'a> CoverageReport<'a>
impl<'a> CoverageReport<'a>
Trait Implementations§
Source§impl<'a> Debug for CoverageReport<'a>
impl<'a> Debug for CoverageReport<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for CoverageReport<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CoverageReport<'a>
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
Source§impl<'a> PartialEq for CoverageReport<'a>
impl<'a> PartialEq for CoverageReport<'a>
impl<'a> StructuralPartialEq for CoverageReport<'a>
Auto Trait Implementations§
impl<'a> Freeze for CoverageReport<'a>
impl<'a> RefUnwindSafe for CoverageReport<'a>
impl<'a> Send for CoverageReport<'a>
impl<'a> Sync for CoverageReport<'a>
impl<'a> Unpin for CoverageReport<'a>
impl<'a> UnwindSafe for CoverageReport<'a>
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