Home
last modified time | relevance | path

Searched refs:unit_type (Results 1 – 6 of 6) sorted by relevance

/DragonReach/src/unit/target/
H A Dmod.rs34 fn unit_type(&self) -> super::UnitType { in unit_type() method
35 return self.unit_base.unit_type; in unit_type()
/DragonReach/src/parse/
H A Dmod.rs189 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() localVariable
223 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()
/DragonReach/src/unit/
H A Dmod.rs65 fn unit_type(&self) -> UnitType; in unit_type() method
228 unit_type: UnitType, field
241 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() method
294 &self.unit_type in unit_type()
/DragonReach/src/unit/service/
H A Dmod.rs159 fn unit_type(&self) -> super::UnitType { in unit_type() method
160 return self.unit_base.unit_type; in unit_type()
/DragonReach/src/unit/timer/
H A Dmod.rs135 fn unit_type(&self) -> super::UnitType { in unit_type() method
136 self.unit_base.unit_type in unit_type()
/DragonReach/src/manager/ctl_manager/
H A Dmod.rs211 .filter(|x| x.lock().unwrap().unit_type() == t) in filter_units()