use std::convert:: { From };
use std::option:: { Option };
use parser:: { parse_record };
#[derive(Debug, PartialEq, Clone)]
pub enum LCOVRecord
{
TestName(String), SourceFile(String), Data(u32, u32, Option<String>), FunctionName(u32, String), FunctionData(u32, String), FunctionsFound(u32), FunctionsHit(u32), LinesHit(u32), LinesFound(u32), BranchData(u32, u32, u32, u32), BranchesFound(u32), BranchesHit(u32), EndOfRecord }
impl<'a> From<&'a str> for LCOVRecord {
fn from(input: &'a str) -> Self {
parse_record(input).unwrap()
}
}