• Home
  • Raw
  • Download

Lines Matching full:customize

22 use super::customize::customize_from_rustproto_for_field;
23 use super::customize::Customize;
290 fn lib_protobuf_type(&self, customize: &Customize) -> String { in lib_protobuf_type()
291 self.protobuf_type_gen().rust_type(customize) in lib_protobuf_type()
306 customize: &Customize, in field_elem() argument
324 customize, in field_elem()
335 field_elem(&key, root_scope, false, customize).0, in field_elem()
336 field_elem(&value, root_scope, false, customize).0, in field_elem()
358 customize, in field_elem()
378 let carllerche_for_bytes = customize.carllerche_bytes_for_bytes.unwrap_or(false); in field_elem()
379 let carllerche_for_string = customize.carllerche_bytes_for_string.unwrap_or(false); in field_elem()
441 pub(crate) customize: Customize, field
448 customize: &Customize, in parse() argument
450 let mut customize = customize.clone(); in parse() localVariable
451 customize.update_with(&customize_from_rustproto_for_field( in parse()
455 let (elem, enum_default_value) = field_elem(&field, root_scope, true, &customize); in parse()
457 let generate_accessors = customize.generate_accessors.unwrap_or(true); in parse()
467 let expose_field = customize.expose_fields.unwrap_or(default_expose_field); in parse()
511 customize, in parse()
587 self.oneof().oneof_type_name.to_code(&self.customize), in variant_path()
798 .unwrap_or_else(|| self.get_xxx_return_type().default_value(&self.customize)) in get_xxx_default_value_rust()
811 .default_value_typed(&self.customize) in element_default_value_rust()
842 type_params: vec![elem.lib_protobuf_type(&self.customize)], in accessor_fn()
851 key.lib_protobuf_type(&self.customize), in accessor_fn()
852 value.lib_protobuf_type(&self.customize), in accessor_fn()
871 type_params: vec![elem.lib_protobuf_type(&self.customize)], in accessor_fn()
889 type_params: vec![elem.lib_protobuf_type(&self.customize)], in accessor_fn()
897 t if t.is_primitive() => t.to_code(&self.customize), in accessor_fn()
934 .clear(&self.self_field(), &self.customize); in write_clear()
949 protobuf_crate_path(&self.customize), in element_size()
955 protobuf_crate_path(&self.customize), in element_size()
966 protobuf_crate_path(&self.customize), in element_size()
968 var_type.into_target(&param_type, var, &self.customize) in element_size()
979 protobuf_crate_path(&self.customize), in element_size()
981 var_type.into_target(&param_type, var, &self.customize) in element_size()
986 protobuf_crate_path(&self.customize), in element_size()
988 var_type.into_target(&param_type, var, &self.customize), in element_size()
989 protobuf_crate_path(&self.customize), in element_size()
1010 protobuf_crate_path(&self.customize), in write_write_element()
1028 ty.into_target(&param_type, var, &self.customize) in write_write_element()
1119 self.full_storage_type().default_value(&self.customize) in write_if_let_self_field_is_some()
1161 oneof_type_name.to_code(&self.customize), in write_for_self_field()
1191 &full_storage_type.wrap_value(value, &self.customize), in write_self_field_assign_some()
1206 let converted = ty.into_target(&self.full_storage_type(), value, &self.customize); in write_self_field_assign_value()
1210 let converted = ty.into_target(&elem.rust_storage_type(), value, &self.customize); in write_self_field_assign_value()
1215 .wrap_value(&converted, &self.customize) in write_self_field_assign_value()
1233 .into_type(self.full_storage_iter_elem_type(), &self.customize) in write_self_field_assign_default()
1250 .default_value_typed(&self.customize) in write_self_field_assign_default()
1251 .into_type(self.elem().rust_storage_type(), &self.customize) in write_self_field_assign_default()
1278 protobuf_crate_path(&self.customize), in self_field_vec_packed_varint_data_size()
1298 protobuf_crate_path(&self.customize), in self_field_vec_packed_fixed_size()
1315 protobuf_crate_path(&self.customize), in self_field_vec_packed_varint_size()
1352 protobuf_crate_path(&self.customize), in write_merge_from_field_message_string_bytes()
1363 protobuf_crate_path(&self.customize), in write_error_unexpected_wire_type()
1373 protobuf_crate_path(&self.customize), in write_assert_wire_type()
1395 typed.boxed(&self.customize) in write_merge_from_oneof()
1415 protobuf_crate_path(&self.customize), in write_merge_from_map()
1416 key.lib_protobuf_type(&self.customize), in write_merge_from_map()
1417 value.lib_protobuf_type(&self.customize), in write_merge_from_map()
1442 protobuf_crate_path(&self.customize), in write_merge_from_singular()
1478 protobuf_crate_path(&self.customize), in write_merge_from_repeated()
1487 protobuf_crate_path(&self.customize), in write_merge_from_repeated()
1539 protobuf_crate_path(&self.customize) in write_element_size()
1570 protobuf_crate_path(&self.customize), in write_message_write_field()
1582 v_type.into_target(&param_type, "v", &self.customize) in write_message_write_field()
1592 protobuf_crate_path(&self.customize), in write_message_write_field()
1593 key.lib_protobuf_type(&self.customize), in write_message_write_field()
1594 value.lib_protobuf_type(&self.customize), in write_message_write_field()
1643 protobuf_crate_path(&self.customize), in write_message_compute_field_size()
1644 key.lib_protobuf_type(&self.customize), in write_message_compute_field_size()
1645 value.lib_protobuf_type(&self.customize), in write_message_compute_field_size()
1672 rust_type_message.default_instance(&self.customize) in write_message_field_get_singular()
1689 v_type.into_target(&r_type, "v", &self.customize), in write_message_field_get_singular()
1708 &self.customize, in write_message_field_get_singular()
1720 get_xxx_return_type.to_code(&self.customize) in write_message_field_get()
1738 vtype.into_target(&get_xxx_return_type, "v", &self.customize), in write_message_field_get()
1814 set_xxx_param_type.to_code(&self.customize) in write_message_field_set()
1824 &self.customize, in write_message_field_set()
1847 param.to_code(&self.customize) in write_message_field_mut()
1851 mut_xxx_return_type.to_code(&self.customize) in write_message_field_mut()
1888 .into_type(self.oneof().rust_type(), &self.customize) in write_message_field_mut()
1920 value_in_some.into_type(self.take_xxx_return_type(), &self.customize); in write_message_field_take_oneof()
1933 .default_value_typed(&self.customize) in write_message_field_take_oneof()
1934 .into_type(take_xxx_return_type.clone(), &self.customize) in write_message_field_take_oneof()
1948 take_xxx_return_type.to_code(&self.customize) in write_message_field_take()
1958 take_xxx_return_type.default_value(&self.customize) in write_message_field_take()
1969 elem.rust_storage_type().default_value(&self.customize) in write_message_field_take()
1985 self.full_storage_type().default_value(&self.customize) in write_message_field_take()