Lines Matching refs:ProtobufEnum
15 use crate::enums::ProtobufEnum;
144 pub fn vec_packed_enum_data_size<E: ProtobufEnum>(vec: &[E]) -> u32 { in vec_packed_enum_data_size()
171 pub fn vec_packed_enum_size<E: ProtobufEnum>(field_number: u32, vec: &[E]) -> u32 { in vec_packed_enum_size()
211 fn enum_size_no_tag<E: ProtobufEnum>(value: E) -> u32 { in enum_size_no_tag()
216 pub fn enum_size<E: ProtobufEnum>(field_number: u32, value: E) -> u32 { in enum_size()
468 pub fn read_repeated_enum_into<E: ProtobufEnum>( in read_repeated_enum_into()
485 fn read_enum_with_unknown_fields_into<E: ProtobufEnum, C>( in read_enum_with_unknown_fields_into() argument
495 match ProtobufEnum::from_i32(i) { in read_enum_with_unknown_fields_into()
502 fn read_repeated_packed_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_repeated_packed_enum_with_unknown_fields_into()
523 pub fn read_repeated_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_repeated_enum_with_unknown_fields_into()
550 pub fn read_proto3_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_proto3_enum_with_unknown_fields_into()
570 pub fn read_proto2_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_proto2_enum_with_unknown_fields_into()