Searched refs:parse_unit (Results 1 – 2 of 2) sorted by relevance
541 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr()557 let unit = UnitParseUtil::parse_unit::<TargetUnit>(unit_path)?; in set_attr()
425 pub fn parse_unit<T: Unit>(path: &str) -> Result<usize, ParseError> { in parse_unit() method