Skip to main content

fields_for

Function fields_for 

Source
pub fn fields_for(mode: Mode) -> Vec<String>
Expand description

Returns the ordered list of field keys visible in the given Mode.

A field is included when its min_mode is at or below mode (modes are strictly nested supersets). Used by both the collection allow-list in main.rs and the display allow-list in display.rs.