(
module_prefix: &'a str,
module: &'a ModuleDef,
ty: &'a AlgebraicTypeUse,
module_name: &'a str,
)
| 6686 | } |
| 6687 | |
| 6688 | fn cpp_ty_fmt_blueprint_impl<'a>( |
| 6689 | module_prefix: &'a str, |
| 6690 | module: &'a ModuleDef, |
| 6691 | ty: &'a AlgebraicTypeUse, |
| 6692 | module_name: &'a str, |
| 6693 | ) -> impl fmt::Display + 'a { |
| 6694 | fmt_fn(move |f| match ty { |
| 6695 | AlgebraicTypeUse::Array(elem) => { |
| 6696 | let elem_type = cpp_ty_fmt_with_module(module_prefix, module, elem, module_name).to_string(); |
| 6697 | write!(f, "TArray<{elem_type}>") |
| 6698 | } |
| 6699 | // For all other types, use the regular implementation |
| 6700 | _ => { |
| 6701 | let display_obj = cpp_ty_fmt_with_module(module_prefix, module, ty, module_name); |
| 6702 | write!(f, "{display_obj}") |
| 6703 | } |
| 6704 | }) |
| 6705 | } |
| 6706 | |
| 6707 | fn cpp_ty_fmt_impl<'a>( |
| 6708 | module_prefix: &'a str, |
no test coverage detected
searching dependent graphs…