Revision control

Copy as Markdown

Other Tools

{#
// Forward work to `uniffi_macros` This keeps macro-based and UDL-based generated code consistent.
#}
#[::uniffi::udl_derive(Record)]
struct r#{{ rec.name() }} {
{%- for field in rec.fields() %}
r#{{ field.name() }}: {{ field.as_type().borrow()|type_rs }},
{%- endfor %}
}