mylang_cli_ext

Function write

source
pub fn write<T>(
    writer: Box<dyn Write + '_>,
    output_format: &FileFormat,
    value: &T,
) -> Result<()>
where T: Serialize,