Searched refs:constraint_type (Results 1 – 1 of 1) sorted by relevance
911 auto constraint_type = constraint_field->GetRustDataType(); in GenRustStructImpls() local912 … s << "fn parse(bytes: &[u8], " << constraint << ": " << constraint_type << ") -> Result<Self> {"; in GenRustStructImpls()953 auto constraint_type = constraint_field->GetFieldType(); in GenRustStructImpls() local955 if (constraint_type == EnumField::kFieldType) { in GenRustStructImpls()972 } else if (constraint_type == ScalarField::kFieldType) { in GenRustStructImpls()