Searched refs:is_oneof (Results 1 – 5 of 5) sorted by relevance
520 pub fn is_oneof(&self) -> bool { in is_oneof() method735 assert!(self.is_singular() || self.is_oneof()); in default_value_from_proto()797 assert!(self.is_singular() || self.is_oneof()); in get_xxx_default_value_rust()805 self.is_singular() || self.is_oneof(), in element_default_value_rust()927 if self.is_oneof() { in write_clear()1226 if self.is_oneof() { in write_self_field_assign_default()1791 if !self.is_oneof() { in write_message_field_has()1818 if !self.is_oneof() { in write_message_field_set()
479 pub fn is_oneof(&self) -> bool { in is_oneof() method484 if self.is_oneof() { in oneof()
46 fields.extend(message.fields().into_iter().filter(|f| f.is_oneof())); in need_boxed()
114 self.fields.iter().filter(|f| !f.is_oneof()).collect() in fields_except_oneof()127 .filter(|f| !f.is_oneof() && f.proto_type != FieldDescriptorProto_Type::TYPE_GROUP) in fields_except_oneof_and_group()
525 pub fn is_oneof(&self) -> bool { in is_oneof() method530 if self.is_oneof() { in oneof()