format_primitive

Function format_primitive 

Source
pub fn format_primitive<'cx>(
    cx: &'cx Context,
    cfg: Config,
    value: &'cx Value<'cx>,
) -> PrimitiveDisplay<'cx>
Expand description

Formats a primitive value using the given configuration. The supported types are boolean, number, string, symbol, null and undefined.