Searched refs:unit_type (Results 1 – 6 of 6) sorted by relevance
34 fn unit_type(&self) -> super::UnitType { in unit_type() method35 return self.unit_base.unit_type; in unit_type()
189 pub fn get_reader(path: &str, unit_type: UnitType) -> Result<io::BufReader<File>, ParseError> { in get_reader()197 if unit_type != UnitType::Unknown { in get_reader()208 if *(u_type.unwrap()) != unit_type { in get_reader()222 let unit_type = UnitParseUtil::parse_type(&path); in from_path() localVariable223 match unit_type { in from_path()242 unit_type: UnitType, in parse()258 unit_base.set_unit_type(unit_type); in parse()260 let reader = UnitParser::get_reader(path, unit_type)?; in parse()
65 fn unit_type(&self) -> UnitType; in unit_type() method228 unit_type: UnitType, field241 unit_type: UnitType::Unknown, in default()254 self.unit_type = utype; in set_unit_type()293 pub fn unit_type(&self) -> &UnitType { in unit_type() method294 &self.unit_type in unit_type()
159 fn unit_type(&self) -> super::UnitType { in unit_type() method160 return self.unit_base.unit_type; in unit_type()
135 fn unit_type(&self) -> super::UnitType { in unit_type() method136 self.unit_base.unit_type in unit_type()
211 .filter(|x| x.lock().unwrap().unit_type() == t) in filter_units()