Searched refs:desc_path (Results 1 – 1 of 1) sorted by relevance
950 auto desc_path = FindPathToDescendant(desc.first->name_); in GenRustStructImpls() local951 std::reverse(desc_path.begin(), desc_path.end()); in GenRustStructImpls()962 s << " if " << desc_path[0]->name_ << "Data::conforms(&bytes[..])"; in GenRustStructImpls()965 s << desc_path[0]->name_ << "(Arc::new("; in GenRustStructImpls()966 if (desc_path[0]->parent_constraints_.empty()) { in GenRustStructImpls()967 s << desc_path[0]->name_ << "Data::parse(&bytes[..]"; in GenRustStructImpls()970 s << desc_path[0]->name_ << "Data::parse(&bytes[..])?))"; in GenRustStructImpls()