Skip to main content

render_temporal_map

Function render_temporal_map 

Source
pub fn render_temporal_map(
    name: &str,
    fields: &HashMap<String, TemporalField>,
) -> Option<String>
Expand description

Canonical rendering of a temporal constructor called with a literal map argument (date({year: 1984, month: 10, day: 11})), or None if the fields don’t form a valid value for name. (#599)