Skip to main content

record_field_layout

Function record_field_layout 

Source
fn record_field_layout(
    visibility: Option<Visibility>,
    name: Name,
    suggested_type: Type,
    field_list: RecordFieldList,
    struct_syntax: &SyntaxNode,
) -> Option<(TextSize, String)>
Expand description

Used to determine the layout of the record field in the struct.